|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD | |||||||||

java.lang.Objectjava.lang.Enum<BotParametersKey>
nl.tudelft.goal.unreal.messages.BotParametersKey
public enum BotParametersKey
| Enum Constant Summary | |
|---|---|
LEADTARGET
Weather or not the bot aims ahead of the target. |
|
LOGLEVEL
Log level used. |
|
NAME
Name of the bot |
|
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. |
|
| Method Summary | |
|---|---|
String |
getKey()
|
static BotParametersKey |
parseKey(String value)
Returns the enum with the value of the string. |
String |
toString()
|
static BotParametersKey |
valueOf(String name)
Returns the enum constant of this type with the specified name. |
static BotParametersKey[] |
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 BotParametersKey NAME
public static final BotParametersKey LEADTARGET
public static final BotParametersKey LOGLEVEL
Level.
public static final BotParametersKey SKILL
public static final BotParametersKey SKIN
Skin will do.
public static final BotParametersKey TEAM
public static final BotParametersKey STARTLOCATION
public static final BotParametersKey STARTROTATION
| Method Detail |
|---|
public static BotParametersKey[] values()
for (BotParametersKey c : BotParametersKey.values()) System.out.println(c);
public static BotParametersKey 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<BotParametersKey>
public static BotParametersKey parseKey(String value)
throws IllegalArgumentException
value -
IllegalArgumentException - if the provided value was not a valid parameter key.public String getKey()
getKey in interface Key
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD | |||||||||