public CollisionResult(bool isCollided, CoordinatePoint coordinatePointToCheck, CollisionRectangle maybeCollisionRectangle) { IsCollided = isCollided; CoordinatePointToCheck = coordinatePointToCheck; MaybeCollisionRectangle = maybeCollisionRectangle; }
public CollisionRectangle(CoordinatePoint cornerOne, CoordinatePoint cornerTwo) { CornerOne = cornerOne; CornerTwo = cornerTwo; }