Class WorldImpl

java.lang.Object
pvzclone.model.impl.WorldImpl
All Implemented Interfaces:
World

public final class WorldImpl extends Object implements World
Implementation of the World Interface.
  • Constructor Details

    • WorldImpl

      public WorldImpl()
  • Method Details

    • setLevel

      public void setLevel(Level level)
      Description copied from interface: World
      Sets the level.
      Specified by:
      setLevel in interface World
      Parameters:
      level - level of the World.
    • setGame

      public void setGame(Game game)
      Description copied from interface: World
      Sets the game.
      Specified by:
      setGame in interface World
      Parameters:
      game - the game of the World.
    • setLevelsManager

      public void setLevelsManager(LevelsManager levelManager)
      Description copied from interface: World
      Sets the levels manager.
      Specified by:
      setLevelsManager in interface World
      Parameters:
      levelManager - the levels manager of the World.
    • getLevel

      public Level getLevel()
      Specified by:
      getLevel in interface World
      Returns:
      the level.
    • getGame

      public Game getGame()
      Specified by:
      getGame in interface World
      Returns:
      the game.
    • getLevelsManager

      public LevelsManager getLevelsManager()
      Specified by:
      getLevelsManager in interface World
      Returns:
      the levels manager.