change window draw function to IDrawable

This commit is contained in:
Clément Le Bihan
2021-05-26 16:38:27 +02:00
parent c12ecf6d8b
commit b2659c3272
7 changed files with 14 additions and 21 deletions

View File

@@ -12,7 +12,7 @@ namespace WAL
void Wal::_update(std::chrono::nanoseconds dtime)
{
auto &entities = this->_scene.getEntities();
auto &entities = this->scene.getEntities();
for (auto &system : this->_systems) {
for (auto &entity : entities) {
@@ -26,7 +26,7 @@ namespace WAL
void Wal::_fixedUpdate()
{
auto &entities = this->_scene.getEntities();
auto &entities = this->scene.getEntities();
for (auto &system : this->_systems) {
for (auto &entity : entities) {