R-Type
R-Type project
KapEngine::SceneManagement::SceneManager Class Reference

Public Member Functions

 SceneManager (KEngine &engine)
 
void addScene (std::shared_ptr< Scene > scene)
 
void addScene (std::string const &sceneName)
 
void removeScene (std::string const &sceneName)
 
void removeScene (std::size_t const &id)
 
void loadScene (std::size_t const &index)
 
void loadScene (std::string const &sceneName)
 
void __update ()
 
KEnginegetEngine ()
 
bool sceneExists (std::size_t const &index)
 
bool sceneExists (std::string const &sceneName)
 
ScenegetScene (std::string const &name)
 
ScenegetScene (std::size_t const &index)
 
ScenegetCurrentScene ()
 
std::size_t getSceneIndex (std::string const &sceneName)
 
std::size_t getSceneIndexInList (std::size_t id)
 
std::size_t getSceneIndexInList (std::string const &sceneName)
 
std::size_t getCurrentSceneId () const
 
std::shared_ptr< ScenecreateScene (std::string const &name)
 
std::vector< std::shared_ptr< Scene > > & getAllScenes ()
 

The documentation for this class was generated from the following files: