Talk:Gilgalad
So, I added Gilgalad to the 1v1 participants list on Thursday, but it still isn't listed in the rumble, does anyone know if I did something wrong?--AW 20:12, 5 August 2011 (UTC)
Just fixed it for you. You put "aw.Gilgalad" on the participants page when your java class is actually "aw.Gilgalad.Gilgalad". --Rednaxela 00:19, 6 August 2011 (UTC)
Thank you, I will have to change that in the next version. --AW 18:08, 6 August 2011 (UTC)
So, I have been re-writing my movement over the past months and I have a question about the robocode physics. When finding the correct wave to log a hit as in onHitByBullet I could use:
(time - wave.getStartTime()) * wave.getBulletVelocity()
However onBulletHitBullet would need:
(time - wave.getStartTime() - 1) * wave.getBulletVelocity()
Does anyone know why this is the case? (My guess is that the onBulletHitBullet event is called on the turn after bullets hit while the onHitByBullet event is from the current turn but I would like to be certain.)