rails.game
Enum GameDef.Parm

java.lang.Object
  extended by java.lang.Enum<GameDef.Parm>
      extended by rails.game.GameDef.Parm
All Implemented Interfaces:
java.io.Serializable, java.lang.Comparable<GameDef.Parm>
Enclosing class:
GameDef

public static enum GameDef.Parm
extends java.lang.Enum<GameDef.Parm>


Enum Constant Summary
FIXED_PRICE_TRAINS_BETWEEN_PRESIDENTS
           
NO_SALE_IF_NOT_OPERATED
           
NO_SALE_IN_FIRST_SR
           
NO_SALE_OF_JUST_BOUGHT_CERT
           
PLAYER_SHARE_LIMIT
           
POOL_SHARE_LIMIT
           
REMOVE_TRAIN_BEFORE_SR
           
SKIP_FIRST_STOCK_ROUND
           
STOCK_ROUND_SEQUENCE
           
TREASURY_SHARE_LIMIT
           
 
Method Summary
 java.lang.Object defaultValue()
           
 boolean defaultValueAsBoolean()
           
 int defaultValueAsInt()
           
static GameDef.Parm valueOf(java.lang.String name)
          Returns the enum constant of this type with the specified name.
static GameDef.Parm[] 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

NO_SALE_IN_FIRST_SR

public static final GameDef.Parm NO_SALE_IN_FIRST_SR

NO_SALE_IF_NOT_OPERATED

public static final GameDef.Parm NO_SALE_IF_NOT_OPERATED

STOCK_ROUND_SEQUENCE

public static final GameDef.Parm STOCK_ROUND_SEQUENCE

PLAYER_SHARE_LIMIT

public static final GameDef.Parm PLAYER_SHARE_LIMIT

POOL_SHARE_LIMIT

public static final GameDef.Parm POOL_SHARE_LIMIT

TREASURY_SHARE_LIMIT

public static final GameDef.Parm TREASURY_SHARE_LIMIT

FIXED_PRICE_TRAINS_BETWEEN_PRESIDENTS

public static final GameDef.Parm FIXED_PRICE_TRAINS_BETWEEN_PRESIDENTS

SKIP_FIRST_STOCK_ROUND

public static final GameDef.Parm SKIP_FIRST_STOCK_ROUND

NO_SALE_OF_JUST_BOUGHT_CERT

public static final GameDef.Parm NO_SALE_OF_JUST_BOUGHT_CERT

REMOVE_TRAIN_BEFORE_SR

public static final GameDef.Parm REMOVE_TRAIN_BEFORE_SR
Method Detail

values

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

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

valueOf

public static GameDef.Parm 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

defaultValue

public java.lang.Object defaultValue()

defaultValueAsBoolean

public boolean defaultValueAsBoolean()

defaultValueAsInt

public int defaultValueAsInt()