put destroying marked entities in the update loop

pull/5/head
Evan Hemsley 2019-06-13 22:25:05 -07:00
parent 961afb9b2a
commit 56bf01f03c
1 changed files with 2 additions and 0 deletions

View File

@ -12,8 +12,10 @@ namespace Encompass {
} }
public void Update() { public void Update() {
entityManager.DestroyMarkedEntities();
componentManager.ActivateComponents(); componentManager.ActivateComponents();
componentManager.RemoveComponents(); componentManager.RemoveComponents();
} }
public Entity CreateEntity() { public Entity CreateEntity() {