Ejemplo n.º 1
0
        public void remove()
        {
            GameObjectNodeManager.remove(this);
            //Remove from batch
            Debug.Assert(cProxySprite != null);
            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);
        }
Ejemplo n.º 2
0
 public void removeFromGameManager()
 {
     GameObjectNodeManager.remove(this);
 }