#include <create_scene_parameters.h>
Public Member Functions | |
CreateSceneParameters () | |
Default constructor. | |
~CreateSceneParameters () | |
Destructor. | |
Public Attributes | |
GameConfiguration | gameConfig |
Game configuration (chosen by a user via GUI). | |
SoSeparator * | sceneRoot |
Scene root node. | |
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. |
All these attributes have to be correctly set in GUI before the Scene is created by calling the SceneCreator::createScene() function.
Uses "crate" design pattern.
CreateSceneParameters::CreateSceneParameters | ( | ) |
Default constructor.
CreateSceneParameters::~CreateSceneParameters | ( | ) |
Destructor.
Game configuration (chosen by a user via GUI).
SoSeparator* CreateSceneParameters::sceneRoot |
Scene root node.
Function that should be called on successfull game end.
void(* CreateSceneParameters::failedGameEndFunc)() |
Function that should be called on failed game end.