public virtual void Add(BroadPhaseEntry entry) { if (entry.BroadPhase == null) entry.BroadPhase = this; else throw new Exception("Cannot add entry; it already belongs to a broad phase."); }