org.inigma.utopia
Enum Race

java.lang.Object
  extended by java.lang.Enum<Race>
      extended by org.inigma.utopia.Race
All Implemented Interfaces:
java.io.Serializable, java.lang.Comparable<Race>

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


Enum Constant Summary
DarkElf
           
Dwarf
           
Elf
           
Gnome
           
Human
           
Orc
           
Unknown
           
 
Method Summary
 java.lang.String getDisplayName()
           
 int getEliteDef()
           
 int getEliteOff()
           
 java.lang.String getShortName()
           
 int getSpecDef()
           
 int getSpecOff()
           
static Race valueOf(java.lang.String name)
          Returns the enum constant of this type with the specified name.
static Race[] 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

Dwarf

public static final Race Dwarf

DarkElf

public static final Race DarkElf

Elf

public static final Race Elf

Gnome

public static final Race Gnome

Human

public static final Race Human

Orc

public static final Race Orc

Unknown

public static final Race Unknown
Method Detail

values

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

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

valueOf

public static Race 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

getDisplayName

public java.lang.String getDisplayName()

getShortName

public java.lang.String getShortName()

getSpecOff

public int getSpecOff()

getSpecDef

public int getSpecDef()

getEliteOff

public int getEliteOff()

getEliteDef

public int getEliteDef()


Copyright © 2008. All Rights Reserved.