Ejemplo n.º 1
0
 public void update() throws Exception {
   player.update();
   for (int i = 0; i < bullets.size(); i++) {
     bullets.get(i).update(this, this.gc.effectsRenderer);
     if (!bullets.get(i).Live) bullets.remove(i);
   }
   for (int i = 0; i < entities.size(); i++) {
     entities.get(i).update(this);
   }
   timerStack.update();
 }
Ejemplo n.º 2
0
 public void addTimer(Timer t) {
   timerStack.addTimer(t);
 }