edu.trinity.cs.gamecore
Enum Player.PanelLoc

java.lang.Object
  extended by java.lang.Enum<Player.PanelLoc>
      extended by edu.trinity.cs.gamecore.Player.PanelLoc
All Implemented Interfaces:
java.io.Serializable, java.lang.Comparable<Player.PanelLoc>
Enclosing interface:
Player<B extends Block<B,E>,E extends GameEntity<B,E>>

public static enum Player.PanelLoc
extends java.lang.Enum<Player.PanelLoc>

This enum specifies the different panel locations that the player will be asked to set up.


Enum Constant Summary
EAST
           
NORTH
           
SOUTH
           
WEST
           
 
Method Summary
static Player.PanelLoc valueOf(java.lang.String name)
          Returns the enum constant of this type with the specified name.
static Player.PanelLoc[] values()
          Returns an array containing the constants of this enum type, in the order they're declared.
 
Methods inherited from class java.lang.Enum
clone, compareTo, equals, getDeclaringClass, hashCode, name, ordinal, toString, valueOf
 
Methods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, wait, wait, wait
 

Enum Constant Detail

NORTH

public static final Player.PanelLoc NORTH

SOUTH

public static final Player.PanelLoc SOUTH

EAST

public static final Player.PanelLoc EAST

WEST

public static final Player.PanelLoc WEST
Method Detail

values

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

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

valueOf

public static Player.PanelLoc 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