public static enum Game.GameType extends Enum<Game.GameType>
Enum Constant and Description |
---|
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.
|
Modifier and Type | Method and Description |
---|---|
static Game.GameType |
getType(String type)
Tedious work this is..
|
static Game.GameType |
valueOf(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.
|
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
public static Game.GameType[] values()
for (Game.GameType c : Game.GameType.values()) System.out.println(c);
public static Game.GameType 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 static Game.GameType getType(String type)
type
- Name of the type of the game type.Copyright © 2012 AMIS research group, Faculty of Mathematics and Physics, Charles University in Prague, Czech Republic. All Rights Reserved.