mirror of
https://github.com/AlexMacocian/MonoGame.Extended.git
synced 2026-07-26 00:45:20 +00:00
it's pretty darn close to fast
This commit is contained in:
@@ -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;
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user