|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD |
java.lang.Objectjava.lang.Enum<Game.GameType>
cz.cuni.amis.pogamut.ut2004.agent.module.sensor.Game.GameType
public static enum Game.GameType
Enums for game types that shields you from Unreal's string ids of game types.
Enum Constant Summary | |
---|---|
BotBombingRun
Bombing run. |
|
BotCTFGame
Capture the Flag! Raid the enemy base, steal their flag. |
|
BotDeathMatch
Classic death-match: Kill or get killed. |
|
BotDoubleDomination
Double domination. |
|
BotTeamGame
Team death-match: Strategic team killing. |
|
Unknown
This type of game is not supported. |
Method Summary | |
---|---|
static Game.GameType |
getType(java.lang.String type)
Tedious work this is.. |
static Game.GameType |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name. |
static Game.GameType[] |
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, toString, valueOf |
Methods inherited from class java.lang.Object |
---|
getClass, notify, notifyAll, wait, wait, wait |
Enum Constant Detail |
---|
public static final Game.GameType BotDeathMatch
public static final Game.GameType BotTeamGame
public static final Game.GameType BotCTFGame
public static final Game.GameType BotBombingRun
public static final Game.GameType BotDoubleDomination
public static final Game.GameType Unknown
Method Detail |
---|
public static Game.GameType[] values()
for (Game.GameType c : Game.GameType.values()) System.out.println(c);
public static Game.GameType 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 name
java.lang.NullPointerException
- if the argument is nullpublic static Game.GameType getType(java.lang.String type)
type
- Name of the type of the game type.
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD |