Esempio n. 1
0
        public void SetCollision(Line line)
        {
            mCollisionCircle = null;
            mCollisionAxisAlignedRectangle = null;
            mCollisionPolygon = null;

            mCollisionLine = line;

            mCollisionLine.AttachTo(this, false);
            mCollisionLine.ForceUpdateDependencies();
        }