public abstract class AGameModel extends Observable implements Observer
GameModel
class.
It contains all the method frames and extends the Observable
class in which
all the methods and functionalities for the observer pattern are given.
A GameModel
stores the most often changing values of a game and
always contains a Game
object in which additional more static data is stored.Constructor and Description |
---|
AGameModel() |
Modifier and Type | Method and Description |
---|---|
abstract IGame |
getGame() |
abstract void |
setGame(Game game) |
addObserver, clearChanged, countObservers, deleteObserver, deleteObservers, hasChanged, notifyObservers, notifyObservers, setChanged
Copyright © 2017 smarTen. All rights reserved.