put destroying marked entities in the update loop
parent
961afb9b2a
commit
56bf01f03c
|
@ -12,8 +12,10 @@ namespace Encompass {
|
|||
}
|
||||
|
||||
public void Update() {
|
||||
entityManager.DestroyMarkedEntities();
|
||||
componentManager.ActivateComponents();
|
||||
componentManager.RemoveComponents();
|
||||
|
||||
}
|
||||
|
||||
public Entity CreateEntity() {
|
||||
|
|
Loading…
Reference in New Issue