Class RoundEndedEvent
java.lang.Object
dev.robocode.tankroyale.botapi.events.RoundEndedEvent
-
Constructor Summary
ConstructorDescriptionRoundEndedEvent
(int roundNumber, int turnNumber, BotResults results) Initializes a new instance of the RoundEndedEvent class. -
Method Summary
Modifier and TypeMethodDescriptionReturns the accumulated bot results at the end of the round.int
Returns the round number.int
Returns the turn number.
-
Constructor Details
-
RoundEndedEvent
Initializes a new instance of the RoundEndedEvent class.- Parameters:
roundNumber
- is the round number.turnNumber
- is the turn number.results
- is the accumulated bot results at the end of the round.
-
-
Method Details
-
getRoundNumber
public int getRoundNumber()Returns the round number.- Returns:
- The round number.
-
getTurnNumber
public int getTurnNumber()Returns the turn number.- Returns:
- The turn number.
-
getResults
Returns the accumulated bot results at the end of the round.- Returns:
- The accumulated bot results at the end of the round.
-