Ejemplo n.º 1
0
 public bool CollideAgainstMove(AxisAlignedRectangle axisAlignedRectangle, float thisMass, float otherMass)
 {
     return(axisAlignedRectangle.CollideAgainstMove(this, otherMass, thisMass));
 }
Ejemplo n.º 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));
 }