public static void Draw() { //SpriteNodeBatchManager pMan = SpriteNodeBatchManager.privGetInstance(); SpriteNodeBatchManager pMan = SpriteNodeBatchManager.pActiveSBManager; Debug.Assert(pMan != null); // walk through the list and render SpriteNodeBatch pSpriteBatch = (SpriteNodeBatch)pMan.baseGetActive(); while (pSpriteBatch != null) { // Delegate pSpriteBatch.Draw(); // Iterate pSpriteBatch = (SpriteNodeBatch)pSpriteBatch.pNext; } }