Class WonRoundEvent

  • All Implemented Interfaces:
    IEvent

    public final class WonRoundEvent
    extends BotEvent
    Event occurring when a bot has won the round.
    • Constructor Summary

      Constructors 
      Constructor Description
      WonRoundEvent​(int turnNumber)
      Initializes a new instance of the WonRoundEvent class.
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      boolean isCritical()
      Indicates if this event is critical, and hence should not be removed from event queue when it gets old.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • WonRoundEvent

        public WonRoundEvent​(int turnNumber)
        Initializes a new instance of the WonRoundEvent class.
        Parameters:
        turnNumber - is the turn number when the bot won the round.
    • Method Detail

      • isCritical

        public boolean isCritical()
        Indicates if this event is critical, and hence should not be removed from event queue when it gets old.

        This event is critical.

        Overrides:
        isCritical in class BotEvent
        Returns:
        true