Package pvzclone.model.api
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 Summary
Modifier and TypeMethodDescriptiongetGame()getLevel()voidSets the game.voidSets the level.voidsetLevelsManager(LevelsManager levelsManager) Sets the levels manager.
-
Method Details
-
setLevel
Sets the level.- Parameters:
level- level of the World.
-
setGame
Sets the game.- Parameters:
game- the game of the World.
-
setLevelsManager
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.
-