mirror of
https://gitlab.com/voidframe/voidframe-cpp.git
synced 2026-10-12 02:10:08 -04:00
Add World::Update()
This commit is contained in:
1 parent
f22b25642b
commit
70df396822
2 files changed
+8
No files matched your search
@@ -18,3 +18,9 @@ void World::Destroy(Entity *entity) {
|
||||
return entityPtr.get() == entity;
|
||||
}));
|
||||
}
|
||||
|
||||
void World::Update() {
|
||||
for (auto &entity : entities) {
|
||||
entity->Update();
|
||||
}
|
||||
}
|
||||
Reference in new issue
Block a user