Uses of Class
break_out.model.Game
-
Packages that use Game Package Description break_out.controller break_out.model break_out.view -
-
Uses of Game in break_out.controller
Fields in break_out.controller declared as Game Modifier and Type Field Description private Game
Controller. game
The game as model that is connected to this controller -
Uses of Game in break_out.model
Fields in break_out.model declared as Game Modifier and Type Field Description private Game
Level. game
The game to which the level belongsConstructors in break_out.model with parameters of type Game Constructor Description Level(Game game, int levelnr, int score)
The constructor creates a new level object and needs the current game object, the number of the level to be created and the current score -
Uses of Game in break_out.view
Fields in break_out.view declared as Game Modifier and Type Field Description private Game
View. game
The connected gameMethods in break_out.view that return Game Modifier and Type Method Description Game
View. getGame()
Getter for the gameMethods in break_out.view with parameters of type Game Modifier and Type Method Description void
View. modelChanged(Game game)
Called by game.notifyObservers() in the run()-method of Level class to repaint the playgroundvoid
View. setGame(Game game)
Setter for the game
-