Interface MapLayerGenerator


  • public interface MapLayerGenerator
    Generates a map layer.
    • 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 - a Game value
        Returns:
        a boolean value
      • getLayer

        Map.Layer getLayer()
        Returns the Layer this MapLayerGenerator is able to generate.
        Returns:
        a Layer value