civquest
Class TestClimateGenerator

java.lang.Object
  extended bycivquest.TestClimateGenerator
All Implemented Interfaces:
VegetationGenerator

public class TestClimateGenerator
extends java.lang.Object
implements VegetationGenerator


Field Summary
protected  int climate
           
protected  double continentalFactor
           
static int FLAT
           
protected  VegetationData grass
           
protected  int height
           
static int ISO
           
protected  MapData mapData
           
protected  int mapType
           
protected  VegetationData ocean
           
protected  int rainMmPerYear
           
protected  Registry registry
           
protected  java.lang.String ruleset
           
protected  int width
           
 
Constructor Summary
TestClimateGenerator(int mapType, Registry registry)
           
 
Method Summary
 void generate(MapData mapData)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

FLAT

public static final int FLAT
See Also:
Constant Field Values

ISO

public static final int ISO
See Also:
Constant Field Values

mapData

protected MapData mapData

climate

protected int climate

rainMmPerYear

protected int rainMmPerYear

continentalFactor

protected double continentalFactor

ruleset

protected java.lang.String ruleset

registry

protected Registry registry

height

protected int height

width

protected int width

grass

protected VegetationData grass

ocean

protected VegetationData ocean

mapType

protected int mapType
Constructor Detail

TestClimateGenerator

public TestClimateGenerator(int mapType,
                            Registry registry)
Method Detail

generate

public void generate(MapData mapData)
Specified by:
generate in interface VegetationGenerator