Package net.sf.freecol.server.generator
Interface MapLayerGenerator
-
public interface MapLayerGeneratorGenerates a map layer.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description booleangenerateLayer(Game game)Generates the layer in the map of the given game.Map.LayergetLayer()Returns the Layer this MapLayerGenerator is able to generate.
-
-
-
Method Detail
-
generateLayer
boolean generateLayer(Game game)
Generates the layer in the map of the given game. Returns true if the layer was generated, and false otherwise.- Parameters:
game- aGamevalue- Returns:
- a
booleanvalue
-
getLayer
Map.Layer getLayer()
Returns the Layer this MapLayerGenerator is able to generate.- Returns:
- a
Layervalue
-
-