public void Add(BlackHole item) { Debug.Assert(item != null, "item is null."); BlackHoleList.Add(item); EntityList.Add(item); GravityPointList.Add(item); }
/* Resets all entity lists to empty */ private void ClearLists() { PlayerList.Clear(); PlanetList.Clear(); ProjectileList.Clear(); BlackHoleList.Clear(); BloodParticleList.Clear(); EntityList.Clear(); PhysicalObjectList.Clear(); GravityPointList.Clear(); }