Class RoundEndedEvent

  • All Implemented Interfaces:
    IEvent

    public final class RoundEndedEvent
    extends java.lang.Object
    implements IEvent
    Event occurring when a round has just ended.
    • 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
      BotResults getResults()
      Returns the accumulated bot results at the end of the round.
      int getRoundNumber()
      Returns the round number.
      int getTurnNumber()
      Returns the turn number.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • 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.