title: cocos2D replace scene not initializing the class
body: <p>I have two scenes (mainMenu) and other (HelloWorldScene). I'm able to switch the scenes using replace scene but after trying to load it second time it doesn't call the init method. </p>
  
  <p>Here are my efforts so far.</p>
  
  <pre><code>//In my mainMenu.m
  
  -(void)starting{
  
  [[CCDirector sharedDirector] replaceScene:[HelloWorldLayer scene]];
  
  }
  
  //and in my HelloWorldScene.m file
  
  -(void)goMain{
  
  [[CCDirector sharedDirector] replaceScene:[mainMenu node]];
  
  }
  </code></pre>
  
  <p>My Question is that how do I call the -(id)init method for that class while replacing the scene.</p>