public void Add(AbsEntity e) { lock (someLock) { _entities.Add(e); } }
public bool Remove(AbsEntity e) { //Fire fire = e as Fire; /*if (fire != null) * { * _deadFire.Add(fire); * }*/ lock (someLock) { return(_entities.Remove(e)); } }