コード例 #1
0
 public CollisionResult(bool isCollided, CoordinatePoint coordinatePointToCheck,
                        CollisionRectangle maybeCollisionRectangle)
 {
     IsCollided              = isCollided;
     CoordinatePointToCheck  = coordinatePointToCheck;
     MaybeCollisionRectangle = maybeCollisionRectangle;
 }
コード例 #2
0
 public CollisionRectangle(CoordinatePoint cornerOne, CoordinatePoint cornerTwo)
 {
     CornerOne = cornerOne;
     CornerTwo = cornerTwo;
 }