예제 #1
0
 public bool CollideAgainstMove(AxisAlignedRectangle axisAlignedRectangle, float thisMass, float otherMass)
 {
     return(axisAlignedRectangle.CollideAgainstMove(this, otherMass, thisMass));
 }
예제 #2
0
 public bool CollideAgainstMove(AxisAlignedRectangle rectangle, float thisMass, float otherMass)
 {
     // just use the rectangle's call, but reverse the otherMass and thisMass
     return(rectangle.CollideAgainstMove(this, otherMass, thisMass));
 }