it's pretty darn close to fast

This commit is contained in:
Dylan Wilson
2018-06-22 22:59:52 +10:00
parent 6e73a59055
commit 547799d93c
18 changed files with 318 additions and 905 deletions
@@ -22,8 +22,8 @@ namespace MonoGame.Extended.Entities.Systems
_subscription = new EntitySubscription(_world.EntityManager, _aspectBuilder.Build(_world.ComponentManager));
// TODO: Undisposed events.
_world.EntityManager.EntityAdded += (sender, entityId) => OnEntityAdded(entityId);
_world.EntityManager.EntityRemoved += (sender, entityId) => OnEntityRemoved(entityId);
_world.EntityManager.EntityAdded += OnEntityAdded;
_world.EntityManager.EntityRemoved += OnEntityRemoved;
}
}