Constructor and Description |
---|
BackgroundsManager()
Default constructor.
|
Modifier and Type | Method and Description |
---|---|
void |
setBackgroundsList(BackgroundServicesList backgroundsList)
Sets the backgrounds list to manage.
|
void |
start()
Starts the background manager.
|
void |
stop()
Stops the background manager.
|
void |
update()
This method is called whenever the observed object is changed.
|
public void setBackgroundsList(BackgroundServicesList backgroundsList)
Starts all backgrounds registered in the background list.
backgroundsList
- the backgrounds list to set.public void start()
Starts all backgrounds registered in the background list.
public void stop()
Starts all started backgrounds.
public void update()
Observer
update
in interface Observer
Observable.notifyObservers()
,
SimpleObservable.notifyObserver()