Ejemplo n.º 1
0
        public void removeFromSpriteBatch()
        {
            SpriteBatchNode sbNode = cProxySprite.getSpriteBatchBNode();

            Debug.Assert(sbNode != null);
            SpriteBatchManager.remove(sbNode);

            ///3 lines commented for ghost Manager
            sbNode = this.cCollisionObj.cSpriteBox.getSpriteBatchBNode();
            Debug.Assert(sbNode != null);
            SpriteBatchManager.remove(sbNode);

            GhostManager.add(this);
        }