Hummingbird Framework
 All Classes Functions Variables Modules Pages
hb::TmxScene Class Reference
Inheritance diagram for hb::TmxScene:
Collaboration diagram for hb::TmxScene:

Public Member Functions

 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 *){}))
 
- Public Member Functions inherited from hb::Game::Scene
 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.
 

Additional Inherited Members

- Protected Attributes inherited from hb::Game::Scene
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: