Class GameEndedEvent
java.lang.Object
dev.robocode.tankroyale.botapi.events.GameEndedEvent
-
Constructor Summary
ConstructorDescriptionGameEndedEvent
(int numberOfRounds, BotResults results) Initializes a new instance of the GameEndedEvent class. -
Method Summary
Modifier and TypeMethodDescriptionint
Returns the number of rounds played.Returns the results of the battle.
-
Constructor Details
-
GameEndedEvent
Initializes a new instance of the GameEndedEvent class.- Parameters:
numberOfRounds
- is the number of rounds played.results
- is the bot results of the battle.
-
-
Method Details
-
getNumberOfRounds
public int getNumberOfRounds()Returns the number of rounds played.- Returns:
- The number of rounds played.
-
getResults
Returns the results of the battle.- Returns:
- The results of the battle.
-