|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD |
java.lang.Object java.lang.Enum<Key> nl.tudelft.goal.unreal.messages.Key
public enum Key
List of valid parameter keys that can be used to initialize the environment.
Enum Constant Summary | |
---|---|
BOTNAMES
List of names for bots. |
|
BOTSERVER
Address of the unreal server. |
|
CONTROLSERVER
Address of the control server. |
|
CONTROLSERVERNAME
Name used by the server. |
|
LEADTARGET
Weather or not the bot aims ahead of the target. |
|
LOGLEVEL
Log level used. |
|
SKILL
Skill of the bot between 0 (poor) and 7 (good). |
|
SKIN
Skin used by the bot. |
|
STARTLOCATION
Start location for the bot. |
|
STARTROTATION
Start rotation for the bot. |
|
TEAM
Team of the bot. |
|
VISUALIZERSERVER
Address for the visualizer service. |
Method Summary | |
---|---|
Object |
getKey()
|
static Key |
parseKey(String value)
Returns the enum with the value of the string. matches. |
String |
toString()
|
static Key |
valueOf(String name)
Returns the enum constant of this type with the specified name. |
static Key[] |
values()
Returns an array containing the constants of this enum type, in the order they are declared. |
Methods inherited from class java.lang.Enum |
---|
clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, valueOf |
Methods inherited from class java.lang.Object |
---|
getClass, notify, notifyAll, wait, wait, wait |
Enum Constant Detail |
---|
public static final Key BOTNAMES
public static final Key CONTROLSERVER
public static final Key LEADTARGET
public static final Key LOGLEVEL
Level
.
public static final Key BOTSERVER
public static final Key CONTROLSERVERNAME
public static final Key SKILL
public static final Key SKIN
Skin
will do.
public static final Key TEAM
public static final Key VISUALIZERSERVER
public static final Key STARTLOCATION
public static final Key STARTROTATION
Method Detail |
---|
public static Key[] values()
for (Key c : Key.values()) System.out.println(c);
public static Key valueOf(String name)
name
- the name of the enum constant to be returned.
IllegalArgumentException
- if this enum type has no constant
with the specified name
NullPointerException
- if the argument is nullpublic String toString()
toString
in class Enum<Key>
public static Key parseKey(String value) throws IllegalArgumentException
value
-
IllegalArgumentException
- if the provided value was not a valid parameter key.public Object getKey()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD |