Game Project
Loading...
Searching...
No Matches
SceneManager Class Reference

Public Member Functions

void Init (const std::string &scene_folder)
 
void AddScene (int id, std::shared_ptr< Scene > scene)
 
void ChangeScene (int id)
 
void PushScene (std::shared_ptr< Scene > scene)
 
void PopScene ()
 
void HandleInput (sf::RenderWindow &window)
 
void Update (float delta_time)
 
void Render (sf::RenderWindow &window)
 
template<typename Func>
void ForActiveScene (Func func)
 
GameState GetActiveGameState () const
 
int GetActiveSceneID () const
 
const std::unordered_map< int, std::shared_ptr< Scene > > & GetScenes () const
 

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