示例#1
0
        public virtual void Destroy()
        {
            pSprite = null;

            if (pBody != null)
            {
                Body b = pBody.GetBody();
                if (b != null)
                {
                    PhysicWorld.GetWorld().DestroyBody(pBody.GetBody());
                }
            }
            pBody = null;
        }