Reworking draw systems

This commit is contained in:
Zoe Roux
2021-05-27 17:38:12 +02:00
parent a26725f5a5
commit a5d746fa47
6 changed files with 12 additions and 7 deletions
+2 -2
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) {