パッケージ org.aiwolf.common.data
Enum Class Role
- すべての実装されたインタフェース:
Serializable
,Comparable<Role>
,Constable
プレイヤーの役職の列挙です。
Roles of Player.
- 作成者:
- tori and otsuki
-
ネストされたクラスの概要
クラスから継承されたネストされたクラス/インタフェース java.lang.Enum
Enum.EnumDesc<E extends Enum<E>>
-
列挙型定数の概要
列挙定数 -
メソッドの概要
-
列挙型定数の詳細
-
BODYGUARD
狩人を表します。The role Bodyguard. -
FREEMASON
共有者を表します。
The role Freemason.
-
MEDIUM
霊媒師です。The role Medium. -
POSSESSED
狂人です。The role Possessed. -
SEER
占い師です。The role Seer. -
VILLAGER
村人です。The role Villager. -
WEREWOLF
人狼です。The role WereWolf. -
FOX
妖狐です。The role FOX. -
ANY
役職不定An arbitrary role.
-
-
メソッドの詳細
-
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
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 nameNullPointerException
- 引数がnullの場合
-
getTeam
役職の属している陣営を返します。- 戻り値:
- 役職の属している陣営Team type
-
getSpecies
役職の属している種族を返します。- 戻り値:
- 役職の属している種族Species
-