zombie.characters
Enum IsoGameCharacter.BodyLocation

java.lang.Object
  extended by java.lang.Enum<IsoGameCharacter.BodyLocation>
      extended by zombie.characters.IsoGameCharacter.BodyLocation
All Implemented Interfaces:
java.io.Serializable, java.lang.Comparable<IsoGameCharacter.BodyLocation>
Enclosing class:
IsoGameCharacter

public static enum IsoGameCharacter.BodyLocation
extends java.lang.Enum<IsoGameCharacter.BodyLocation>


Enum Constant Summary
Arm
           
Chest
           
Foot
           
Hand
           
Head
           
Leg
           
Stomach
           
 
Method Summary
static IsoGameCharacter.BodyLocation valueOf(java.lang.String name)
          Returns the enum constant of this type with the specified name.
static IsoGameCharacter.BodyLocation[] values()
          Returns an array containing the constants of this enum type, in the order they are declared.
 
Methods inherited from class java.lang.Enum
compareTo, equals, getDeclaringClass, hashCode, name, ordinal, toString, valueOf
 
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, wait, wait, wait
 

Enum Constant Detail

Head

public static final IsoGameCharacter.BodyLocation Head

Leg

public static final IsoGameCharacter.BodyLocation Leg

Arm

public static final IsoGameCharacter.BodyLocation Arm

Chest

public static final IsoGameCharacter.BodyLocation Chest

Stomach

public static final IsoGameCharacter.BodyLocation Stomach

Foot

public static final IsoGameCharacter.BodyLocation Foot

Hand

public static final IsoGameCharacter.BodyLocation Hand
Method Detail

values

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

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

valueOf

public static IsoGameCharacter.BodyLocation 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