Enum VillageState

java.lang.Object
java.lang.Enum<VillageState>
jp.sourceforge.jindolf.corelib.VillageState
All Implemented Interfaces:
Serializable, Comparable<VillageState>, java.lang.constant.Constable

public enum VillageState extends Enum<VillageState>
村の状態。 滅んだ国の村は全てGAMEOVERとする。
  • Enum Constant Details

    • PROLOGUE

      public static final VillageState PROLOGUE
      プロローグ進行中。
    • PROGRESS

      public static final VillageState PROGRESS
      ゲーム進行中。
    • EPILOGUE

      public static final VillageState EPILOGUE
      エピローグ進行中。
    • GAMEOVER

      public static final VillageState GAMEOVER
      ゲーム終了。
    • UNKNOWN

      public static final VillageState UNKNOWN
      状況不明だが村の存在は確認。
  • Method Details

    • values

      public static VillageState[] 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 VillageState 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
    • getXmlName

      public String getXmlName()
      XML用シンボルを取得する。
      Returns:
      XML用シンボル