|
| TmxScene (const std::string &scene_name, const std::string &file_name, std::function< void(const Tmx::Map *)> &post_init) |
|
| TmxScene (const std::string &scene_name, const std::string &file_name, std::function< void(const Tmx::Map *)> &&post_init=std::move([](const Tmx::Map *){})) |
|
| Scene (const std::string &name, std::function< void(void)> &&init) |
| Class constructor. More...
|
|
| Scene (const Scene &other) |
| Copy constructor of Scene. More...
|
|
| Scene (Scene &&other) |
| Move constructor of Scene. More...
|
|
| ~Scene () |
| Class destructor.
|
|
void | init () |
| Called when Scene is being set.
|
|
void | exit () |
| Called when Scene is being unset (Game is changing the current Scene or Game is ending).
|
|
const std::string & | getName () const |
| Get Scene's name.
|
|
void | setExit (std::function< void(void)> &&exit) |
| Set Scene's exit function.
|
|
|
std::function< void(void)> | m_init |
|
std::function< void(void)> | m_exit |
|
std::string | m_name |
|
The documentation for this class was generated from the following file: