title: TimerHandler in andengine spawing sprites at a interval
body: <p>I am using this TimerHandler in andEngine to spawn sprites at certain times..</p>
  
  <pre><code>  mScene.registerUpdateHandler(new TimerHandler(0.02f, true, new ITimerCallback() {
                     @Override
                     public void onTimePassed(TimerHandler pTimerHandler) {
                            addSpriteTime1 += 2; // because timer update = 0.02 seconds
                             if (addSpriteTime1 == nextSprite1Time) {
                                    addFace();
                                     addSpriteTime1 = 0;
                             }
  
                             addSpriteTime2 += 2;
                             if (addSpriteTime2 == nextSprite2Time) {
                                   addFace2();
                                     addSpriteTime2 = 0;
                             }
  
                             addSpriteTime3 += 2;
                             if (addSpriteTime3 == nextSprite3Time) {
                                     addFace3();
                                     addSpriteTime3 = 0;
                             }
                     }
             }));
  </code></pre>
  
  <p>Now i have int variables declared at class level..</p>
  
  <pre><code>private int nextSprite1Time = 100;// initial value, could be changed during game
  private int nextSprite2Time = 100;
  private int nextSprite3Time = 100;
  </code></pre>
  
  <p>I then have a method which allows me to change the speed or the nextSpriteTimes.</p>
  
  <pre><code> private void speed(int f, int g, int h){
  
      this.nextSprite1Time = f;
      this.nextSprite2Time = g;
      this.nextSprite3Time = h;
      Log.e("Time Changed", String.valueOf(this.nextSprite1Time+ "," + this.nextSprite2Time + ","+ this.nextSprite3Time));
  
       }
  </code></pre>
  
  <p>The problem is when i try to change the speed for example..</p>
  
  <pre><code> speed(30, 50, 70);
  </code></pre>
  
  <p>It just stops all together and now sprites are added, </p>
  
  <p>Does anyone see where i am going wrong with this or can do it differently?</p>