mirror of
https://gitlab.com/voidframe/voidframe-cpp.git
synced 2026-10-11 22:10:08 -04:00
Add a barebones Entity::Update()
This commit is contained in:
1 parent
03c3a75232
commit
45c7b2412c
1 file changed
+6
@@ -1 +1,7 @@
|
||||
#include "../include/entity.h"
|
||||
|
||||
void Entity::Update() {
|
||||
for (auto &comp : components) {
|
||||
comp.get()->Update();
|
||||
}
|
||||
}
|
||||
Reference in new issue
Block a user