java.io.Serializable
, java.lang.Comparable<CloakState>
public enum CloakState extends java.lang.Enum<CloakState>
Enum Constant | Description |
---|---|
CLOAKED |
|
CLOAKED_DETECTED |
|
NOT_CLOAKED |
Modifier and Type | Method | Description |
---|---|---|
static CloakState |
from(SC2APIProtocol.Raw.CloakState sc2ApiCloakState) |
|
static CloakState |
valueOf(java.lang.String name) |
Returns the enum constant of this type with the specified name.
|
static CloakState[] |
values() |
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final CloakState CLOAKED
public static final CloakState NOT_CLOAKED
public static final CloakState CLOAKED_DETECTED
public static CloakState[] values()
for (CloakState c : CloakState.values()) System.out.println(c);
public static CloakState valueOf(java.lang.String name)
name
- the name of the enum constant to be returned.java.lang.IllegalArgumentException
- if this enum type has no constant with the specified namejava.lang.NullPointerException
- if the argument is nullpublic static CloakState from(SC2APIProtocol.Raw.CloakState sc2ApiCloakState)
Copyright © 2017–2018 Ocraft Project. All rights reserved.