37 current_scene_ = std::move(
scene);
44 input::event_bus &event_bus() {
49 input::event_bus bus_{};
51 graphics::renderer renderer_{};
52 std::unique_ptr<scene> current_scene_{};
Desktop GUI manager that handles the application lifecycle.
Definition application.h:20
void run()
Runs the update and render loop with the current scene.
Definition application.cpp:5
void set_scene(std::unique_ptr< scene > scene)
Sets the active scene.
Definition application.h:36
OpenGL renderer that uses batch rendering.
Definition renderer.h:18
An abstract interface representing a complete application scene.
Definition scene.h:10