Class GameEndedEvent
- java.lang.Object
-
- dev.robocode.tankroyale.botapi.events.GameEndedEvent
-
-
Constructor Summary
Constructors Constructor Description GameEndedEvent(int numberOfRounds, BotResults results)
Initializes a new instance of the GameEndedEvent class.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description int
getNumberOfRounds()
Returns the number of rounds played.BotResults
getResults()
Returns the results of the battle.
-
-
-
Constructor Detail
-
GameEndedEvent
public GameEndedEvent(int numberOfRounds, BotResults results)
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 Detail
-
getNumberOfRounds
public int getNumberOfRounds()
Returns the number of rounds played.- Returns:
- The number of rounds played.
-
getResults
public BotResults getResults()
Returns the results of the battle.- Returns:
- The results of the battle.
-
-