Package net.sf.freecol.server.generator
Interface MapLayerGenerator
-
public interface MapLayerGenerator
Generates a map layer.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description boolean
generateLayer(Game game)
Generates the layer in the map of the given game.Map.Layer
getLayer()
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
- aGame
value- Returns:
- a
boolean
value
-
getLayer
Map.Layer getLayer()
Returns the Layer this MapLayerGenerator is able to generate.- Returns:
- a
Layer
value
-
-