Add World::Update()

This commit is contained in:
Maple Redleaf committed 2025-11-11 12:37:42 -06:00
1 parent f22b25642b
commit 70df396822
2 files changed
+8

No files matched your search

+6
View File
@@ -18,3 +18,9 @@ void World::Destroy(Entity *entity) {
return entityPtr.get() == entity;
}));
}
void World::Update() {
for (auto &entity : entities) {
entity->Update();
}
}