Sc2ApiSerializable<SC2APIProtocol.Debug.DebugGameState>
, java.io.Serializable
, java.lang.Comparable<DebugGameState>
public enum DebugGameState extends java.lang.Enum<DebugGameState> implements Sc2ApiSerializable<SC2APIProtocol.Debug.DebugGameState>
Enum Constant | Description |
---|---|
ALL_RESOURCES |
|
CONTROL_ENEMY |
|
COOLDOWN |
|
FAST_BUILD |
|
FOOD |
|
FREE |
|
GAS |
|
GOD |
|
MINERALS |
|
SHOW_MAP |
|
TECH_TREE |
|
UPGRADE |
Modifier and Type | Method | Description |
---|---|---|
SC2APIProtocol.Debug.DebugGameState |
toSc2Api() |
|
static DebugGameState |
valueOf(java.lang.String name) |
Returns the enum constant of this type with the specified name.
|
static DebugGameState[] |
values() |
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final DebugGameState SHOW_MAP
public static final DebugGameState CONTROL_ENEMY
public static final DebugGameState FOOD
public static final DebugGameState FREE
public static final DebugGameState ALL_RESOURCES
public static final DebugGameState GOD
public static final DebugGameState MINERALS
public static final DebugGameState GAS
public static final DebugGameState COOLDOWN
public static final DebugGameState TECH_TREE
public static final DebugGameState UPGRADE
public static final DebugGameState FAST_BUILD
public static DebugGameState[] values()
for (DebugGameState c : DebugGameState.values()) System.out.println(c);
public static DebugGameState 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 SC2APIProtocol.Debug.DebugGameState toSc2Api()
toSc2Api
in interface Sc2ApiSerializable<SC2APIProtocol.Debug.DebugGameState>
Copyright © 2017–2018 Ocraft Project. All rights reserved.