Add functions to test hitting left or right side of collidable object