title: Can't stop rendering on android
body: <p>I want to stop the game when my character has died and then switch from the game into a game over screen. but I found that I find a problem that the start activity isn't recognized</p>
  
  <pre><code>   if(!player1.isDestroyed){
          scrollBackground1(gl);
          scrollBackground2(gl);
          movePlayer1(gl); 
          moveEnemy(gl);
          detectCollisions(gl);
      }
      else{//to the gameover screen
          Intent end = new Intent(SFEngine.context, GameOver.class);
          startActivity(end);
      }
  </code></pre>
  
  <p>this code is from the renderer which the class is implement renderer, NOT Activity</p>