rails.game
Enum GameDef.Parm
java.lang.Object
java.lang.Enum<GameDef.Parm>
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>
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 |
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
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()