Package pvzclone.model.impl
Class WorldImpl
java.lang.Object
pvzclone.model.impl.WorldImpl
- All Implemented Interfaces:
World
Implementation of the World Interface.
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptiongetGame()
getLevel()
void
Sets the game.void
Sets the level.void
setLevelsManager
(LevelsManager levelManager) Sets the levels manager.
-
Constructor Details
-
WorldImpl
public WorldImpl()
-
-
Method Details
-
setLevel
Description copied from interface:World
Sets the level. -
setGame
Description copied from interface:World
Sets the game. -
setLevelsManager
Description copied from interface:World
Sets the levels manager.- Specified by:
setLevelsManager
in interfaceWorld
- Parameters:
levelManager
- the levels manager of the World.
-
getLevel
-
getGame
-
getLevelsManager
- Specified by:
getLevelsManager
in interfaceWorld
- Returns:
- the levels manager.
-