gizmoball.gui
Enum GamePlayModel.GameMode

java.lang.Object
  extended by java.lang.Enum<GamePlayModel.GameMode>
      extended by gizmoball.gui.GamePlayModel.GameMode
All Implemented Interfaces:
java.io.Serializable, java.lang.Comparable<GamePlayModel.GameMode>
Enclosing class:
GamePlayModel

public static enum GamePlayModel.GameMode
extends java.lang.Enum<GamePlayModel.GameMode>

These values are the different modes the game can be in.


Enum Constant Summary
EDIT
           
PLAY
           
PLAY_PAUSED
           
WELCOME
           
 
Method Summary
static GamePlayModel.GameMode valueOf(java.lang.String name)
          Returns the enum constant of this type with the specified name.
static GamePlayModel.GameMode[] 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

WELCOME

public static final GamePlayModel.GameMode WELCOME

PLAY

public static final GamePlayModel.GameMode PLAY

PLAY_PAUSED

public static final GamePlayModel.GameMode PLAY_PAUSED

EDIT

public static final GamePlayModel.GameMode EDIT
Method Detail

values

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

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

valueOf

public static GamePlayModel.GameMode 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