title: IPhone and Cocos2d Sprites/Layers
body: <p>I am using cocos2d-iphone to place Sprites onto a Layer to setup a game playfield.  At certain points in the game, certain Sprites need to be removed based upon game conditions.  What I would like to do is setup an array of Sprite pointers, but I have two questions:</p>
  
  <p>What's the best way to place Sprite pointers in an array?  </p>
  
  <p>How does one remove the Sprite in cocos2d with only a pointer to the Sprite?  I know how to do it from its parent layer, but that is too runtime intensive for the main game loop.</p>
  
  <p>Thanks in advance!</p>