public static enum Team.Option extends java.lang.Enum<Team.Option>
枚举常量和说明 |
---|
COLLISION_RULE
How players of this team collide with others.
|
DEATH_MESSAGE_VISIBILITY
How to display the death messages for players on this team.
|
NAME_TAG_VISIBILITY
How to display the name tags of players on this team.
|
限定符和类型 | 方法和说明 |
---|---|
static Team.Option |
valueOf(java.lang.String name)
返回带有指定名称的该类型的枚举常量。
|
static Team.Option[] |
values()
按照声明该枚举类型的常量的顺序, 返回
包含这些常量的数组。
|
public static final Team.Option NAME_TAG_VISIBILITY
public static final Team.Option DEATH_MESSAGE_VISIBILITY
public static final Team.Option COLLISION_RULE
public static Team.Option[] values()
for (Team.Option c : Team.Option.values()) System.out.println(c);
public static Team.Option valueOf(java.lang.String name)
name
- 要返回的枚举常量的名称。java.lang.IllegalArgumentException
- 如果该枚举类型没有带有指定名称的常量java.lang.NullPointerException
- 如果参数为空值