cz.cuni.amis.pogamut.ut2004.navigation.evaluator
Enum MapInfo.GameType

Package class diagram package MapInfo.GameType
java.lang.Object
  extended by java.lang.Enum<MapInfo.GameType>
      extended by cz.cuni.amis.pogamut.ut2004.navigation.evaluator.MapInfo.GameType
All Implemented Interfaces:
Serializable, Comparable<MapInfo.GameType>
Enclosing class:
MapInfo

public static enum MapInfo.GameType
extends Enum<MapInfo.GameType>

Enumeration of supported game types.


Enum Constant Summary
BotBombingRun
           
BotCTFGame
           
BotDeathMatch
           
BotDoubleDomination
           
 
Method Summary
static MapInfo.GameType valueOf(String name)
          Returns the enum constant of this type with the specified name.
static MapInfo.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

BotDoubleDomination

public static final MapInfo.GameType BotDoubleDomination

BotDeathMatch

public static final MapInfo.GameType BotDeathMatch

BotCTFGame

public static final MapInfo.GameType BotCTFGame

BotBombingRun

public static final MapInfo.GameType BotBombingRun
Method Detail

values

public static MapInfo.GameType[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:
for (MapInfo.GameType c : MapInfo.GameType.values())
    System.out.println(c);

Returns:
an array containing the constants of this enum type, in the order they are declared

valueOf

public static MapInfo.GameType valueOf(String name)
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)

Parameters:
name - the name of the enum constant to be returned.
Returns:
the enum constant with the specified name
Throws:
IllegalArgumentException - if this enum type has no constant with the specified name
NullPointerException - if the argument is null


Copyright © 2015 AMIS research group, Faculty of Mathematics and Physics, Charles University in Prague, Czech Republic. All Rights Reserved.