Esempio n. 1
0
 @Override
 public void update(DeltaState deltaState) {
   if (deltaState.isKeyPressed(Key.ENTER)) {
     ((Zombies) this.getGame()).buildIntroScene();
   }
   super.update(deltaState);
 }
 @Override
 public void update(DeltaState deltaState) {
   ((Label) this.getAppearance())
       .setText("Puntaje: " + this.getValue() + "  Vidas: " + (this.getVidas() + 1));
   super.update(deltaState);
 }