the calculations about the directional collisions are now in the AABBCollider and the Collider class