public enum PlayerState extends Enum<PlayerState>
| Modifier and Type | Method and Description |
|---|---|
static PlayerState |
fromInstanceState(wtf.nucker.kitpvpplus.player.PlayerState state) |
static wtf.nucker.kitpvpplus.player.PlayerState |
toInstanceState(PlayerState state) |
static PlayerState |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static PlayerState[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final PlayerState SPAWN
public static final PlayerState ARENA
public static final PlayerState PROTECTED
public static PlayerState[] values()
for (PlayerState c : PlayerState.values()) System.out.println(c);
public static PlayerState valueOf(String name)
name - the name of the enum constant to be returned.IllegalArgumentException - if this enum type has no constant with the specified nameNullPointerException - if the argument is nullpublic static PlayerState fromInstanceState(wtf.nucker.kitpvpplus.player.PlayerState state)
public static wtf.nucker.kitpvpplus.player.PlayerState toInstanceState(PlayerState state)
Copyright © 2021. All rights reserved.