24template <
class T,
class... Args> T&
setScene(Args&&... args) {
Active state of the game, e.g. a menu or the game itself.
std::shared_ptr< Scene > getActiveScene()
Returns the currently active Scene.
std::shared_ptr< Work > getWork()
Returns the current active Work or nullptr if none has been set.
void setScene(std::shared_ptr< Scene >)
Sets the passed Scene to be active in the main loop for the next frame.
std::shared_ptr< Scene > getNextScene()
Returns the Scene that will be active in the next frame.