public bool CollideAgainstSolid(AxisAlignedRectangle movableObject)
        {
            bool toReturn = false;

            toReturn = mShapes.CollideAgainstBounce(movableObject, true, mSortAxis, 1, 0, 0);

            return(toReturn);
        }
Пример #2
0
 public bool CollideAgainstBounce(ShapeCollection shapeCollection, float thisMass, float otherMass, float elasticity)
 {
     return(shapeCollection.CollideAgainstBounce(this, otherMass, thisMass, elasticity));
 }