Interface World

All Known Implementing Classes:
WorldImpl

public interface World
Interface of the Model of the game. It contains methods to set the Level and Game that will be used to start the game.
  • Method Details

    • setLevel

      void setLevel(Level level)
      Sets the level.
      Parameters:
      level - level of the World.
    • setGame

      void setGame(Game game)
      Sets the game.
      Parameters:
      game - the game of the World.
    • setLevelsManager

      void setLevelsManager(LevelsManager levelsManager)
      Sets the levels manager.
      Parameters:
      levelsManager - the levels manager of the World.
    • getLevel

      Level getLevel()
      Returns:
      the level.
    • getGame

      Game getGame()
      Returns:
      the game.
    • getLevelsManager

      LevelsManager getLevelsManager()
      Returns:
      the levels manager.