rl.common.mapping
Enum PlanetHexGrid.PlanetArea

java.lang.Object
  extended by java.lang.Enum<PlanetHexGrid.PlanetArea>
      extended by rl.common.mapping.PlanetHexGrid.PlanetArea
All Implemented Interfaces:
java.io.Serializable, java.lang.Comparable<PlanetHexGrid.PlanetArea>
Enclosing class:
PlanetHexGrid

public static enum PlanetHexGrid.PlanetArea
extends java.lang.Enum<PlanetHexGrid.PlanetArea>


Enum Constant Summary
AREA_1
           
AREA_10
           
AREA_2
           
AREA_3
           
AREA_4
           
AREA_5
           
AREA_6
           
AREA_7
           
AREA_8
           
AREA_9
           
EQUATOR
           
NORTH_POLE
           
SOUTH_POLE
           
 
Method Summary
 java.lang.String toString()
           
static PlanetHexGrid.PlanetArea valueOf(java.lang.String name)
          Returns the enum constant of this type with the specified name.
static PlanetHexGrid.PlanetArea[] 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

NORTH_POLE

public static final PlanetHexGrid.PlanetArea NORTH_POLE

AREA_1

public static final PlanetHexGrid.PlanetArea AREA_1

AREA_2

public static final PlanetHexGrid.PlanetArea AREA_2

AREA_3

public static final PlanetHexGrid.PlanetArea AREA_3

AREA_4

public static final PlanetHexGrid.PlanetArea AREA_4

AREA_5

public static final PlanetHexGrid.PlanetArea AREA_5

AREA_6

public static final PlanetHexGrid.PlanetArea AREA_6

AREA_7

public static final PlanetHexGrid.PlanetArea AREA_7

AREA_8

public static final PlanetHexGrid.PlanetArea AREA_8

AREA_9

public static final PlanetHexGrid.PlanetArea AREA_9

AREA_10

public static final PlanetHexGrid.PlanetArea AREA_10

EQUATOR

public static final PlanetHexGrid.PlanetArea EQUATOR

SOUTH_POLE

public static final PlanetHexGrid.PlanetArea SOUTH_POLE
Method Detail

values

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

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

valueOf

public static PlanetHexGrid.PlanetArea 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

toString

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