net.sf.freecol.server.generator
Class MapGeneratorOptions

java.lang.Object
  extended by net.sf.freecol.server.generator.MapGeneratorOptions

public class MapGeneratorOptions
extends java.lang.Object

Keeps track of the available map generator options.

See Also:
MapGenerator, OptionGroup

Field Summary
static java.lang.String BONUS_NUMBER
          Option for setting the percentage of bonus tiles on the map.
static java.lang.String FOREST_NUMBER
          Option for setting the percentage of forests on the map.
static java.lang.String HUMIDITY
          Option for setting the humidity of the map.
static java.lang.String IMPORT_BONUSES
          Option for using the bonuses imported from a file.
static java.lang.String IMPORT_FILE
          Option for setting a file to be imported (map etc).
static java.lang.String IMPORT_RUMOURS
          Option for using the lost city rumours imported from a file.
static java.lang.String IMPORT_SETTLEMENTS
          Option for using the settlements imported from a file.
static java.lang.String IMPORT_TERRAIN
          Option for using the terrain imported from a file.
static int LAND_GEN_ARCHIPELAGO
           
static int LAND_GEN_CLASSIC
           
static int LAND_GEN_CONTINENT
           
static int LAND_GEN_ISLANDS
           
static java.lang.String LAND_GEN_TYPE
          Option for setting the type of land generator to be used.
static java.lang.String LAND_MASS
          Option for setting the land mass of the map.
static java.lang.String MAXIMUM_LATITUDE
          The maximum latitude of the map.
static java.lang.String MINIMUM_LATITUDE
          The minimum latitude of the map.
static java.lang.String MOUNTAIN_NUMBER
          Option for setting the number of mountains on the map.
static java.lang.String RIVER_NUMBER
          Option for setting the number of rivers on the map.
static java.lang.String RUMOUR_NUMBER
          Option for setting the number of rumours on the map.
static java.lang.String SETTLEMENT_NUMBER
          Option for setting the number of settlements on the map.
static java.lang.String TEMPERATURE
          Option for setting the temperature of the map.
static int TEMPERATURE_CHILLY
          One of the settings used by TEMPERATURE.
static int TEMPERATURE_COLD
          One of the settings used by TEMPERATURE.
static int TEMPERATURE_HOT
          One of the settings used by TEMPERATURE.
static int TEMPERATURE_TEMPERATE
          One of the settings used by TEMPERATURE.
static int TEMPERATURE_WARM
          One of the settings used by TEMPERATURE.
 
Constructor Summary
MapGeneratorOptions()
           
 
Method Summary
static java.lang.String getXMLElementTagName()
          Gets the tag name of the root element representing this object.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

LAND_MASS

public static final java.lang.String LAND_MASS
Option for setting the land mass of the map.

See Also:
Constant Field Values

RIVER_NUMBER

public static final java.lang.String RIVER_NUMBER
Option for setting the number of rivers on the map.

See Also:
Constant Field Values

MOUNTAIN_NUMBER

public static final java.lang.String MOUNTAIN_NUMBER
Option for setting the number of mountains on the map.

See Also:
Constant Field Values

RUMOUR_NUMBER

public static final java.lang.String RUMOUR_NUMBER
Option for setting the number of rumours on the map.

See Also:
Constant Field Values

SETTLEMENT_NUMBER

public static final java.lang.String SETTLEMENT_NUMBER
Option for setting the number of settlements on the map.

See Also:
Constant Field Values

FOREST_NUMBER

public static final java.lang.String FOREST_NUMBER
Option for setting the percentage of forests on the map.

See Also:
Constant Field Values

BONUS_NUMBER

public static final java.lang.String BONUS_NUMBER
Option for setting the percentage of bonus tiles on the map.

See Also:
Constant Field Values

HUMIDITY

public static final java.lang.String HUMIDITY
Option for setting the humidity of the map.

See Also:
Constant Field Values

TEMPERATURE

public static final java.lang.String TEMPERATURE
Option for setting the temperature of the map.

See Also:
Constant Field Values

TEMPERATURE_COLD

public static final int TEMPERATURE_COLD
One of the settings used by TEMPERATURE.

See Also:
Constant Field Values

TEMPERATURE_CHILLY

public static final int TEMPERATURE_CHILLY
One of the settings used by TEMPERATURE.

See Also:
Constant Field Values

TEMPERATURE_TEMPERATE

public static final int TEMPERATURE_TEMPERATE
One of the settings used by TEMPERATURE.

See Also:
Constant Field Values

TEMPERATURE_WARM

public static final int TEMPERATURE_WARM
One of the settings used by TEMPERATURE.

See Also:
Constant Field Values

TEMPERATURE_HOT

public static final int TEMPERATURE_HOT
One of the settings used by TEMPERATURE.

See Also:
Constant Field Values

IMPORT_FILE

public static final java.lang.String IMPORT_FILE
Option for setting a file to be imported (map etc).

See Also:
Constant Field Values

IMPORT_TERRAIN

public static final java.lang.String IMPORT_TERRAIN
Option for using the terrain imported from a file.

See Also:
Constant Field Values

IMPORT_BONUSES

public static final java.lang.String IMPORT_BONUSES
Option for using the bonuses imported from a file.

See Also:
Constant Field Values

IMPORT_RUMOURS

public static final java.lang.String IMPORT_RUMOURS
Option for using the lost city rumours imported from a file.

See Also:
Constant Field Values

IMPORT_SETTLEMENTS

public static final java.lang.String IMPORT_SETTLEMENTS
Option for using the settlements imported from a file.

See Also:
Constant Field Values

LAND_GEN_TYPE

public static final java.lang.String LAND_GEN_TYPE
Option for setting the type of land generator to be used.

See Also:
Constant Field Values

LAND_GEN_CLASSIC

public static final int LAND_GEN_CLASSIC
See Also:
Constant Field Values

LAND_GEN_CONTINENT

public static final int LAND_GEN_CONTINENT
See Also:
Constant Field Values

LAND_GEN_ARCHIPELAGO

public static final int LAND_GEN_ARCHIPELAGO
See Also:
Constant Field Values

LAND_GEN_ISLANDS

public static final int LAND_GEN_ISLANDS
See Also:
Constant Field Values

MINIMUM_LATITUDE

public static final java.lang.String MINIMUM_LATITUDE
The minimum latitude of the map.

See Also:
Constant Field Values

MAXIMUM_LATITUDE

public static final java.lang.String MAXIMUM_LATITUDE
The maximum latitude of the map.

See Also:
Constant Field Values
Constructor Detail

MapGeneratorOptions

public MapGeneratorOptions()
Method Detail

getXMLElementTagName

public static java.lang.String getXMLElementTagName()
Gets the tag name of the root element representing this object.

Returns:
"mapGeneratorOptions".