Esempio n. 1
0
 public CollisionResult(bool isCollided, CoordinatePoint coordinatePointToCheck,
                        CollisionRectangle maybeCollisionRectangle)
 {
     IsCollided              = isCollided;
     CoordinatePointToCheck  = coordinatePointToCheck;
     MaybeCollisionRectangle = maybeCollisionRectangle;
 }
Esempio n. 2
0
 public CollisionRectangle(CoordinatePoint cornerOne, CoordinatePoint cornerTwo)
 {
     CornerOne = cornerOne;
     CornerTwo = cornerTwo;
 }