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.

Variable Index

 o cols
the number of columns in the game world grid.
 o gunRange
the range of guns
 o horizon
the range of visibility
 o maxCitySize
the maximum city size (always used)
 o maxTerrainLevel
the highest terrain level (mountain peak)
 o minCitySize
the minimum city size (not yet used)
 o minTerrainLevel
the lowest terrain level (water)
 o numPlayers
the maximum number of players allowed in one game
 o parRange
the range of paratroops
 o rows
the number of rows in the game world grid.

Constructor Index

 o Rules()

Variables

 o rows
  public static int rows
the number of rows in the game world grid.
 o cols
  public static int cols
the number of columns in the game world grid.
 o horizon
  public final static int horizon
the range of visibility
 o gunRange
  public final static int gunRange
the range of guns
 o parRange
  public final static int parRange
the range of paratroops
 o minCitySize
  public final static int minCitySize
the minimum city size (not yet used)
 o maxCitySize
  public final static int maxCitySize
the maximum city size (always used)
 o minTerrainLevel
  public final static int minTerrainLevel
the lowest terrain level (water)
 o maxTerrainLevel
  public final static int maxTerrainLevel
the highest terrain level (mountain peak)
 o numPlayers
  public final static int numPlayers
the maximum number of players allowed in one game

Constructors

 o Rules
  public Rules()

All Packages  Class Hierarchy  This Package  Previous  Next  Index