Enum Class WarPhaseEnum

java.lang.Object
java.lang.Enum<WarPhaseEnum>
club.xiaojiawei.enums.WarPhaseEnum
所有已实现的接口:
Serializable, Comparable<WarPhaseEnum>, Constable

public enum WarPhaseEnum extends Enum<WarPhaseEnum>
  • 枚举常量详细资料

    • FILL_DECK_PHASE

      public static final WarPhaseEnum FILL_DECK_PHASE
    • DRAWN_INIT_CARD_PHASE

      public static final WarPhaseEnum DRAWN_INIT_CARD_PHASE
    • REPLACE_CARD_PHASE

      public static final WarPhaseEnum REPLACE_CARD_PHASE
    • SPECIAL_EFFECT_TRIGGER_PHASE

      public static final WarPhaseEnum SPECIAL_EFFECT_TRIGGER_PHASE
    • GAME_TURN_PHASE

      public static final WarPhaseEnum GAME_TURN_PHASE
    • GAME_OVER_PHASE

      public static final WarPhaseEnum GAME_OVER_PHASE
  • 方法详细资料

    • values

      public static WarPhaseEnum[] values()
      Returns an array containing the constants of this enum class, in the order they are declared.
      返回:
      an array containing the constants of this enum class, in the order they are declared
    • valueOf

      public static WarPhaseEnum valueOf(String name)
      Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (Extraneous whitespace characters are not permitted.)
      参数:
      name - 要返回的枚举常量的名称。
      返回:
      返回带有指定名称的枚举常量
      抛出:
      IllegalArgumentException - if this enum class has no constant with the specified name
      NullPointerException - 如果参数为空值
    • setAbstractPhaseStrategy

      public void setAbstractPhaseStrategy(AbstractPhaseStrategy abstractPhaseStrategy)