Class RoundEndedEvent
- Object
-
- RoundEndedEvent
-
-
Constructor Summary
Constructors Constructor Description RoundEndedEvent(int roundNumber, int turnNumber, BotResults results)Initializes a new instance of the RoundEndedEvent class.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description BotResultsgetResults()Returns the accumulated bot results at the end of the round.intgetRoundNumber()Returns the round number.intgetTurnNumber()Returns the turn number.
-
-
-
Constructor Detail
-
RoundEndedEvent
public RoundEndedEvent(int roundNumber, int turnNumber, BotResults results)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 Detail
-
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
public BotResults getResults()
Returns the accumulated bot results at the end of the round.- Returns:
- The accumulated bot results at the end of the round.
-
-