put destroying marked entities in the update loop
parent
961afb9b2a
commit
56bf01f03c
|
@ -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() {
|
||||||
|
|
Loading…
Reference in New Issue