パッケージ org.aiwolf.common.data

Enum Class Species

java.lang.Object
java.lang.Enum<Species>
org.aiwolf.common.data.Species
すべての実装されたインタフェース:
Serializable, Comparable<Species>, Constable

public enum Species extends Enum<Species>
種族の列挙です。
Species of Player.
作成者:
tori and otsuki
  • 列挙型定数の詳細

    • HUMAN

      public static final Species HUMAN
      人間を表します。
      The species human.
    • WEREWOLF

      public static final Species WEREWOLF
      人狼を表します。
      The species werewolf.
    • ANY

      public static final Species ANY
      種族不定
      An arbitrary species.
  • メソッドの詳細

    • values

      public static Species[] 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 Species 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 - 引数がnullの場合