public enum Key extends Enum<Key>
Enum Constant and Description |
---|
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.
|
Modifier and Type | Method and Description |
---|---|
Object |
getKey() |
static Key |
parseKey(String value)
Returns the enum with the value of the string.
|
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.
|
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 TEAM
public static final Key VISUALIZERSERVER
public static final Key STARTLOCATION
public static final Key STARTROTATION
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 nameNullPointerException
- if the argument is nullpublic String toString()
public static Key parseKey(String value) throws IllegalArgumentException
value
- IllegalArgumentException
- if the provided value was not a valid parameter key.public Object getKey()
Copyright © 2012 AMIS research group, Faculty of Mathematics and Physics, Charles University in Prague, Czech Republic. All Rights Reserved.