Scene of a Game.
More...
#include <Game.h>
|
std::function< void(void)> | m_init |
|
std::function< void(void)> | m_exit |
|
std::string | m_name |
|
Scene of a Game.
This class should initialize the GameObjects that participate in this Scene, set global values, etc.
hb::Game::Scene::Scene |
( |
const std::string & |
name, |
|
|
std::function< void(void)> && |
init |
|
) |
| |
Class constructor.
- Parameters
-
name | Name of the Scene. It must be unique per Game. |
init | Function to be executed when the Scene is set. |
hb::Game::Scene::Scene |
( |
const Scene & |
other | ) |
|
Copy constructor of Scene.
- Parameters
-
hb::Game::Scene::Scene |
( |
Scene && |
other | ) |
|
Move constructor of Scene.
- Parameters
-
The documentation for this class was generated from the following file: