public void checkCollisions(I_WorldObject x) { qt.FindIntersects(boundingBoxToRectangle(x), ref intersectingObjects); foreach (I_WorldObject y in intersectingObjects) { if (!object.ReferenceEquals(x, y)) { x.alertCollision(y); y.alertCollision(x); } } }