21 #ifndef GF_SCENE_MANAGER_H 22 #define GF_SCENE_MANAGER_H 26 #include "Portability.h" 28 #include "RenderWindow.h" 33 #ifndef DOXYGEN_SHOULD_SKIP_THIS 71 void pushScene(
Scene& scene);
100 std::vector<Ref<Scene>> m_scenes;
103 #ifndef DOXYGEN_SHOULD_SKIP_THIS 109 #endif // GF_SCENE_MANAGER_H Base class for all render targets (window, texture, ...)
Definition: RenderTarget.h:73
void replaceScene(Scene &scene)
Replace the top scene with a new scene.
Definition: SceneManager.h:85
A scene manager.
Definition: SceneManager.h:51
The namespace for gf classes.
Definition: Action.h:35
A window that can serve as a target for 2D drawing.
Definition: RenderWindow.h:80
An OS window.
Definition: Window.h:88
A constant reference to a string and its size.
Definition: StringRef.h:41
A scene in the game.
Definition: Scene.h:65
const RenderTarget & getRenderer() const
Get the renderer associated to the scene.
Definition: SceneManager.h:93