Enum FreezeClock.Move

java.lang.Object
java.lang.Enum<FreezeClock.Move>
privbot.mechanics.FreezeClock.Move
All Implemented Interfaces:
Serializable, Comparable<FreezeClock.Move>, java.lang.constant.Constable
Enclosing class:
FreezeClock

public static enum FreezeClock.Move extends Enum<FreezeClock.Move>
How a move of theirs relates to a running freeze.
  • Enum Constant Details

    • EXPIRED

      public static final FreezeClock.Move EXPIRED
      At or after expectedEnd - FREEZE_EXPIRY_EARLY_TICKS: it ran out, and immunity follows.
    • BROKEN

      public static final FreezeClock.Move BROKEN
      Earlier, past the grace: they were not frozen (or it broke), and no immunity follows.
    • INSIDE_GRACE

      public static final FreezeClock.Move INSIDE_GRACE
      Within FREEZE_BROKEN_GRACE_TICKS of the graphic: the step already under way when it landed (the drawn tile trails the server's). Not an end.
  • Method Details

    • values

      public static FreezeClock.Move[] values()
      Returns an array containing the constants of this enum type, in the order they are declared.
      Returns:
      an array containing the constants of this enum type, in the order they are declared
    • valueOf

      public static FreezeClock.Move valueOf(String name)
      Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)
      Parameters:
      name - the name of the enum constant to be returned.
      Returns:
      the enum constant with the specified name
      Throws:
      IllegalArgumentException - if this enum type has no constant with the specified name
      NullPointerException - if the argument is null