public virtual void Remove(BroadPhaseEntry entry) { if (entry.BroadPhase == this) entry.BroadPhase = null; else throw new Exception("Cannot remove entry; it does not belong to this broad phase."); }