#include <scene.h>
Public Member Functions | |
Scene (SceneConfiguration sceneConfig) | |
Constructor. | |
~Scene () | |
Destructor. | |
virtual void | timeUpdate (float dt) |
Timer value change event occured. | |
void | fire () |
Fire event. | |
Private Member Functions | |
Scene (const Scene &) | |
Scene & | operator= (const Scene &) |
Private Attributes | |
SceneConfiguration | _sceneConfig |
Scene configuration. | |
PlayField * | _playField |
Play field. |
Reference object (cannot be copied).
Scene::Scene | ( | const Scene & | ) | [private] |
Scene::Scene | ( | SceneConfiguration | sceneConfig | ) |
Scene::~Scene | ( | ) |
Destructor.
virtual void Scene::timeUpdate | ( | float | dt | ) | [virtual] |
Timer value change event occured.
This method is called on each timer value change.
[in] | dt | Time difference between the last call (delta). |
Implements TimeUpdateable.
void Scene::fire | ( | ) |
Fire event.
This method should be called when a user has fired (by clicking a left mouse button etc.).
SceneConfiguration Scene::_sceneConfig [private] |
Scene configuration.
PlayField* Scene::_playField [private] |
Play field.