public void startLevel() { // Siguiente nivel level++; //-- // Inicio mapa map = new Engine.Maps(level); //-- // Preconfigura la posición inicial del personaje y vuelvo por defecto nivelCompletado camare.position[0] = map.position[0]; camare.position[1] = map.position[1]; camare.position[2] = map.position[2]; camare.view[0] = map.view[0]; camare.view[1] = map.view[1]; camare.view[2] = map.view[2]; camare.levelCompleted = false; ligth.turnOn = true; //-- // Dibujo mapa drawMap(); //-- // Iniciar sonido Engine.Sound.play("music" + level + ".wav"); //-- }