public boolean checkRightCollision(Rectangle collisionArea) { return HorizontalDirection.LEFT.equals(horizontalDirection) && CollisionDetector.checkRightCollision(area, collisionArea); }
public boolean checkBottomCollision(Rectangle collisionArea) { return VerticalDirection.UP.equals(verticalDirection) && CollisionDetector.checkBottomCollision(area, collisionArea); }