Scene Class Reference

Main scene. More...

#include <scene.h>

Inheritance diagram for Scene:

TimeUpdateable GraphicalNode

List of all members.

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 &)
Sceneoperator= (const Scene &)

Private Attributes

SceneConfiguration _sceneConfig
 Scene configuration.
PlayField_playField
 Play field.


Detailed Description

Main scene.

Reference object (cannot be copied).


Constructor & Destructor Documentation

Scene::Scene ( const Scene  )  [private]

Scene::Scene ( SceneConfiguration  sceneConfig  ) 

Constructor.

Parameters:
[in] sceneConfig Scene configuration.

Scene::~Scene (  ) 

Destructor.


Member Function Documentation

Scene& Scene::operator= ( const Scene  )  [private]

virtual void Scene::timeUpdate ( float  dt  )  [virtual]

Timer value change event occured.

This method is called on each timer value change.

Parameters:
[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.).


Member Data Documentation

Scene configuration.

Play field.


The documentation for this class was generated from the following file:

Generated on Sat Dec 20 19:21:24 2008 for PGR2008 by  doxygen 1.5.6