Starting the game loop

This commit is contained in:
Zoe Roux
2021-05-14 17:46:14 +02:00
parent d6aaf30c3b
commit 2015705f11
3 changed files with 12 additions and 0 deletions
+2
View File
@@ -29,6 +29,8 @@ namespace WAL
std::vector<std::unique_ptr<System>> _systems = {};
//! @brief The renderer used to draw entities
std::unique_ptr<Renderer> _renderer;
//! @brief True if the engine should close after the end of the current tick.
bool _shouldClose = false;
public:
//! @brief Create a new system in place.
//! @return The wal instance used to call this function is returned. This allow method chaining.