예제 #1
0
파일: World.java 프로젝트: java8compiler/BC
 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();
 }
예제 #2
0
파일: World.java 프로젝트: java8compiler/BC
 public void addTimer(Timer t) {
   timerStack.addTimer(t);
 }