Esempio n. 1
0
  public void muere() {

    Ba1 mundo = (Ba1) getWorld();

    if (this.isTouching(Jugador.class)) {

      mundo.restavidas();
      Jugador j = mundo.dimeJugador();
      j.setLocation(350, 50);
    }
  }