Class SkippedTurnEvent
java.lang.Object
dev.robocode.tankroyale.botapi.events.BotEvent
dev.robocode.tankroyale.botapi.events.SkippedTurnEvent
-
Constructor Summary
ConstructorDescriptionSkippedTurnEvent
(int turnNumber) Initializes a new instance of the SkippedTurnEvent class. -
Method Summary
Modifier and TypeMethodDescriptionboolean
Indicates if this event is critical, and hence should not be removed from event queue when it gets old.Methods inherited from class dev.robocode.tankroyale.botapi.events.BotEvent
getTurnNumber
-
Constructor Details
-
SkippedTurnEvent
public SkippedTurnEvent(int turnNumber) Initializes a new instance of the SkippedTurnEvent class.- Parameters:
turnNumber
- is the turn number which was skipped.
-
-
Method Details
-
isCritical
public boolean isCritical()Indicates if this event is critical, and hence should not be removed from event queue when it gets old.This event is critical.
- Overrides:
isCritical
in classBotEvent
- Returns:
- true
-