Class WonRoundEvent
java.lang.Object
dev.robocode.tankroyale.botapi.events.BotEvent
dev.robocode.tankroyale.botapi.events.WonRoundEvent
-
Constructor Summary
ConstructorDescriptionWonRoundEvent
(int turnNumber) Initializes a new instance of the WonRoundEvent 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
-
WonRoundEvent
public WonRoundEvent(int turnNumber) Initializes a new instance of the WonRoundEvent class.- Parameters:
turnNumber
- is the turn number when the bot won the round.
-
-
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
-