|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
public interface MapGenerator
Creates maps and sets the starting locations for the players.
| Method Summary | |
|---|---|
void |
createEmptyMap(Game game,
boolean[][] landMap)
Creates a Map for the given Game. |
void |
createMap(Game game)
Creates the map with the current set options |
OptionGroup |
getMapGeneratorOptions()
Gets the options used when generating the map. |
| Method Detail |
|---|
void createMap(Game game)
throws FreeColException
FreeColException
void createEmptyMap(Game game,
boolean[][] landMap)
Map for the given Game.
The Map is added to the Game after
it is created.
game - The game.landMap - Determines whether there should be land
or ocean on a given tile. This array also
specifies the size of the map that is going
to be created.MapOptionGroup getMapGeneratorOptions()
MapGeneratorOptions.
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||