#include <scene_configuration.h>
Public Member Functions | |
| SceneConfiguration () | |
| Default constructor. | |
| ~SceneConfiguration () | |
| Destructor. | |
Public Attributes | |
| SoSeparator * | rootNode |
| Scene root node. | |
| Environment * | environment |
| Strategy object that represents Scene look. | |
| Avatar * | avatar |
| Strategy object that represents Avatar look. | |
| PlayBoxGraphics * | playBoxGraphics |
| Strategy object that represents PlayBox look. | |
| PlayBoxPhysics * | playBoxPhysics |
| Strategy object that represents PlayBox behaviour. | |
| Camera * | camera |
| 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. | |
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.
| SceneConfiguration::SceneConfiguration | ( | ) |
Default constructor.
| SceneConfiguration::~SceneConfiguration | ( | ) |
Destructor.
| SoSeparator* SceneConfiguration::rootNode |
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.
| void(* SceneConfiguration::successGameEndFunc)() |
Function that should be called on successfull game end.
| void(* SceneConfiguration::failedGameEndFunc)() |
Function that should be called on failed game end.
Game difficulty settings.
1.5.6