SceneConfiguration Class Reference

Scene configuration. More...

#include <scene_configuration.h>

List of all members.

Public Member Functions

 SceneConfiguration ()
 Default constructor.
 ~SceneConfiguration ()
 Destructor.

Public Attributes

SoSeparator * rootNode
 Scene root node.
Environmentenvironment
 Strategy object that represents Scene look.
Avataravatar
 Strategy object that represents Avatar look.
PlayBoxGraphicsplayBoxGraphics
 Strategy object that represents PlayBox look.
PlayBoxPhysicsplayBoxPhysics
 Strategy object that represents PlayBox behaviour.
Cameracamera
 Camera.
void(* successGameEndFunc )()
 Function that should be called on successfull game end.
void(* failedGameEndFunc )()
 Function that should be called on failed game end.
DifficultySettings gameDifficulty
 Game difficulty settings.


Detailed Description

Scene configuration.

All these attributes have to be set correctly before a Scene is created. Furthermore, Scene will also pass an instance of this class to its subcomponents, like PlayField.

Uses "crate" design pattern.

See also:
Scene, PlayField

Constructor & Destructor Documentation

SceneConfiguration::SceneConfiguration (  ) 

Default constructor.

SceneConfiguration::~SceneConfiguration (  ) 

Destructor.


Member Data Documentation

Scene root node.

Strategy object that represents Scene look.

Strategy object that represents Avatar look.

Strategy object that represents PlayBox look.

Strategy object that represents PlayBox behaviour.

Function that should be called on successfull game end.

Function that should be called on failed game end.

Game difficulty settings.


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