*** Voidious is correct. Note that setTurnRight(90); setAhead(100); (without the execute) is also functionally equivalent if that's all you have in your bot. -- Simonton |
*** Voidious is correct. Note that setTurnRight(90); setAhead(100); (without the execute) is also functionally equivalent if that's all you have in your bot. -- Simonton****Ah, ok. So the second one sends instructions to robocode and finishes, and the first one keeps the run() method alive until it's finished moving. execute() blocks until the next tick, right? Thanks guys! --Daniel |