mirror of
https://github.com/zoriya/Bomberman.git
synced 2026-06-01 17:55:48 +00:00
Reworking draw systems
This commit is contained in:
@@ -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) {
|
||||
|
||||
Reference in New Issue
Block a user