Skip to content

Commit

Permalink
solucione el reseteo y parece que se solucionaron
Browse files Browse the repository at this point in the history
los problemas de reset, volver al menu y terminar
partida
  • Loading branch information
NahuelMarek committed Nov 27, 2024
1 parent d187df3 commit 4711c5a
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
2 changes: 1 addition & 1 deletion administradorDeJuego.wlk
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ object administradorDeJuego {
administradorDeProyectiles.reset()
casa.reset()
puntaje.reset()
administradorUtilizado.reset()
administradorDeOleadas.reset()
configuracion.quitarVisuals()
//pantalla.reproducirSonido()
// configuracion.iniciarMusica() // Iniciar música (opcional)
Expand Down
3 changes: 2 additions & 1 deletion administradorDeOleadas.wlk
Original file line number Diff line number Diff line change
Expand Up @@ -91,10 +91,11 @@ object administradorDeOleadas {
game.removeTickEvent("gestionar oleada")
oleadaNormal.reset()
oleadaFinal.reset()
niveles.forEach({nivel=>nivel.resetearOleadas()})
niveles.forEach({botonNivel=>botonNivel.nivel().resetearOleadas()})
numeroOleada = 1
numNivel=1
oleadaActual = oleadaNormal
if(modoNiveles){self.actualizarOleada()}
self.frenarTickInicial()
oleadaInicial.interval(4000)
tickParaGenerarEnemigos.stop()
Expand Down

0 comments on commit 4711c5a

Please sign in to comment.