Interface MapLoader

    • Method Detail

      • loadMap

        Map.Layer loadMap​(Game game,
                          Map.Layer layer)
        Load a map into the given game, copying all layers up to the given layer. Returns the highest layer actually copied, e.g. NONE if map loading failed, or the highest level available if an even higher level was requested.
        Parameters:
        game - a Game value
        layer - a Layer value
        Returns:
        a Layer value
      • getHighestLayer

        Map.Layer getHighestLayer()
        Returns the highest layer this MapLoader is able to load.
        Returns:
        a Layer value