Thread history

Fragment of a discussion from Talk:Main Page
Viewing a history listing
Jump to navigation Jump to search
Time User Activity Comment
No results

Yeah that's correct, the setFire is from the last tick.

What's a typical pattern for robocode as to code placement? I'm currently placing the gun turning code in the while true loop and the firing code in onScannedRobot

and it's wrapped with if (getGunHeat() == 0.0)

Should I change that layout? (also add && getGunTurnRemaining() == 0.0 to the fire wrap?)

Ultimatebuster03:03, 4 October 2011