All pastes #470243 Raw Edit

Untitled

public text v1 · immutable
·published 2007-05-04 04:43 UTC
rendered paste body
	if (this.estado == 1)
					{
						System.out.println(": Felicitaciones Ganaste el Juego!!");
						System.out.println(": Desea pasar al siguiente mundo? s/n");
						//aqui se podria cargar otro mundo y continuar
						linea = Entrada.readLine();
						if (linea.equalsIgnoreCase("s")){
							this.estado = 3;
							this.indiceLaberinto = 0;
							this.indiceMundo = this.indiceMundo + 1;
							this.mundoActual = episodio.getEpisodio().get(indiceMundo);
							this.labActual = (Laberinto) mundoActual.getMundos().get(this.indiceLaberinto);
							this.avatar = new Avatar(this.labActual.getPosIniX(), this.labActual.getPosIniY(), 'H', 20, 20, "Terminator");
							this.labActual.seteaAvatar(this.labActual.getPosIniX(), this.labActual.getPosIniY(), avatar);
							System.out.println("Bienvenido al mundo " + this.indiceMundo);
						}
						else{ //si ingresan "n"	
							System.out.println("Ud. eligio terminar el juego, completo satisfactoriamente el mundo " + this.indiceMundo);
							System.exit(0); 
						}
					}