|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectnet.sf.freecol.server.generator.MapGenerator
public class MapGenerator
Creates random maps and sets the starting locations for the players.
Constructor Summary | |
---|---|
MapGenerator(java.util.Random random)
Creates a MapGenerator |
Method Summary | |
---|---|
void |
createMap(Game game)
Creates the map with the current set options |
LandGenerator |
getLandGenerator()
|
MapGeneratorOptions |
getMapGeneratorOptions()
Gets the options used when generating the map. |
TerrainGenerator |
getTerrainGenerator()
|
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public MapGenerator(java.util.Random random)
MapGenerator
createMap(net.sf.freecol.common.model.Game)
Method Detail |
---|
public void createMap(Game game) throws FreeColException
IMapGenerator
createMap
in interface IMapGenerator
FreeColException
public LandGenerator getLandGenerator()
public TerrainGenerator getTerrainGenerator()
public MapGeneratorOptions getMapGeneratorOptions()
IMapGenerator
getMapGeneratorOptions
in interface IMapGenerator
MapGeneratorOptions
.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |