|Modifier and Type||Method and Description|
This method is called when a custom condition is met.
This method is called if the robot is using too much time between actions.
void onSkippedTurn(SkippedTurnEvent event)
If you receive 30 skipped turn event, your robot will be removed from the round and loose the round.
You will only receive this event after taking an action. So a robot in an infinite loop will not receive any events, and will simply be stopped.
No correctly working, reasonable robot should ever receive this event unless it is using too many CPU cycles.
void onCustomEvent(CustomEvent event)
See the sample robots for examples of use, e.g. the
Copyright © 2017 Robocode. All Rights Reserved.