Example #1
0
 public bool CollideAgainstBounce(AxisAlignedRectangle axisAlignedRectangle, float thisMass, float otherMass, float elasticity)
 {
     return(axisAlignedRectangle.CollideAgainstBounce(this, otherMass, thisMass, elasticity));
 }
Example #2
0
 public bool CollideAgainst(FlatRedBall.Math.Geometry.AxisAlignedRectangle rectangle, bool isCloudCollision = false)
 {
     return(CollideAgainst(() => rectangle.CollideAgainstBounce(this.Collision, 1, 0, 0), isCloudCollision));
 }