Class SkippedTurnEvent

  • All Implemented Interfaces:
    IEvent

    public final class SkippedTurnEvent
    extends BotEvent
    Event occurring when the bot has skipped a turn, meaning that no intent has reached the server for a specific turn.
    • Constructor Summary

      Constructors 
      Constructor Description
      SkippedTurnEvent​(int turnNumber)
      Initializes a new instance of the SkippedTurnEvent 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

      • SkippedTurnEvent

        public SkippedTurnEvent​(int turnNumber)
        Initializes a new instance of the SkippedTurnEvent class.
        Parameters:
        turnNumber - is the turn number which was skipped.
    • 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