Class games.Battle.shared.sys.Rules
All Packages Class Hierarchy This Package Previous Next Index
Class games.Battle.shared.sys.Rules
java.lang.Object
|
+----games.Battle.shared.sys.Rules
- public class Rules
- extends Object
A collection of constants used to control the various parameters of the
game. In the future some of these parameters may be settable on a per
game basis.
-
cols
- the number of columns in the game world grid.
-
gunRange
- the range of guns
-
horizon
- the range of visibility
-
maxCitySize
- the maximum city size (always used)
-
maxTerrainLevel
- the highest terrain level (mountain peak)
-
minCitySize
- the minimum city size (not yet used)
-
minTerrainLevel
- the lowest terrain level (water)
-
numPlayers
- the maximum number of players allowed in one game
-
parRange
- the range of paratroops
-
rows
- the number of rows in the game world grid.
-
Rules()
-
rows
public static int rows
- the number of rows in the game world grid.
cols
public static int cols
- the number of columns in the game world grid.
horizon
public final static int horizon
- the range of visibility
gunRange
public final static int gunRange
- the range of guns
parRange
public final static int parRange
- the range of paratroops
minCitySize
public final static int minCitySize
- the minimum city size (not yet used)
maxCitySize
public final static int maxCitySize
- the maximum city size (always used)
minTerrainLevel
public final static int minTerrainLevel
- the lowest terrain level (water)
maxTerrainLevel
public final static int maxTerrainLevel
- the highest terrain level (mountain peak)
numPlayers
public final static int numPlayers
- the maximum number of players allowed in one game
Rules
public Rules()
All Packages Class Hierarchy This Package Previous Next Index