mirror of
https://github.com/zoriya/Bomberman.git
synced 2025-12-21 05:45:10 +00:00
change window draw function to IDrawable
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