rl.common.game.elements
Enum ArtilleryAmmunitionType

java.lang.Object
  extended by java.lang.Enum<ArtilleryAmmunitionType>
      extended by rl.common.game.elements.ArtilleryAmmunitionType
All Implemented Interfaces:
java.io.Serializable, java.lang.Comparable<ArtilleryAmmunitionType>

public enum ArtilleryAmmunitionType
extends java.lang.Enum<ArtilleryAmmunitionType>


Enum Constant Summary
ADM
           
AMA
           
CRATER
           
GLAD
           
HAFE
           
HELL
           
SMOKE
           
 
Method Summary
static ArtilleryAmmunitionType fromString(java.lang.String at)
           
static java.lang.String[] getNames()
           
 java.lang.String toString()
           
static ArtilleryAmmunitionType valueOf(java.lang.String name)
          Returns the enum constant of this type with the specified name.
static ArtilleryAmmunitionType[] 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

GLAD

public static final ArtilleryAmmunitionType GLAD

CRATER

public static final ArtilleryAmmunitionType CRATER

SMOKE

public static final ArtilleryAmmunitionType SMOKE

HAFE

public static final ArtilleryAmmunitionType HAFE

ADM

public static final ArtilleryAmmunitionType ADM

AMA

public static final ArtilleryAmmunitionType AMA

HELL

public static final ArtilleryAmmunitionType HELL
Method Detail

values

public static ArtilleryAmmunitionType[] 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 (ArtilleryAmmunitionType c : ArtilleryAmmunitionType.values())
    System.out.println(c);

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

valueOf

public static ArtilleryAmmunitionType valueOf(java.lang.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:
java.lang.IllegalArgumentException - if this enum type has no constant with the specified name
java.lang.NullPointerException - if the argument is null

getNames

public static java.lang.String[] getNames()

fromString

public static ArtilleryAmmunitionType fromString(java.lang.String at)

toString

public java.lang.String toString()
Overrides:
toString in class java.lang.Enum<ArtilleryAmmunitionType>