public void AddTracker(EntityTracker entityTracker) { _entityTrackers.Add(entityTracker); for(int i = 0; i < _entityWorld.AllEntities.Count; i++) { entityTracker.OnEntityAddedToWorld(_entityWorld.AllEntities[i]); } }
public void AddTracker(EntityTracker entityTracker) { _entityTrackers.Add(entityTracker); for(int i = 0; i < _entityWorld.AllEntities.Count; i++) { entityTracker.OnEntityAddedToWorld(_entityWorld.AllEntities[i]); } }