public Collision(Orb a, List <Orb> B) { this.a = a; this.B = B; }
public void unregisterCollisions(Orb a) { a.CollidingBodies.Clear(); collisions.RemoveAll((Collision c) => { return(c.a.Equals(a)); }); }