5#include <SFML/Graphics/RenderWindow.hpp>
23 void RegisterApp(
App* app);
30 void Update(sf::Time dt)
const;
33 std::vector<SystemInterface*> systems_;
34 std::vector<OnEventInterface*> eventInterfaces_;
35 std::vector<DrawInterface*> drawInterfaces_;
36 std::vector<DrawImGuiInterface*> drawImGuiInterfaces_;
37 std::unique_ptr<sf::RenderWindow> window_;
App is an interface for applications that need to init/update/destroy, draw and get event from OS.
Definition: app.h:12
DrawImGuiInterface is an interface used by the Engine to be called when the game loop is drawing ImGu...
Definition: graphics.h:23
DrawInterface is an interface used by the Engine to be called when the game loop is drawing elements ...
Definition: graphics.h:12
Engine is a class that manages the layer between the system and the application and runs the game loo...
Definition: engine.h:16
void Run()
Run is a method that runs the Engine game loop.
Definition: engine.cpp:21
OnEventInterface is an interface to a class that needs to read events from the Engine....
Definition: system.h:26
SystemInterface is an interface to a game system that needs to begin, update and end by the Engine....
Definition: system.h:13