Skip to content

Commit

Permalink
agregada pantalla final
Browse files Browse the repository at this point in the history
  • Loading branch information
MateoGiuffra committed Nov 22, 2023
1 parent c7955d0 commit 593a92c
Showing 1 changed file with 13 additions and 1 deletion.
14 changes: 13 additions & 1 deletion src/nivelx.wlk
Original file line number Diff line number Diff line change
Expand Up @@ -116,6 +116,18 @@ object reglas inherits Nivel{
}
}

object fin inherits Nivel{
override method image() = "fondoFin.png"

override method terminar(){
game.clear()
}

override method siguiente(){
return self
}
}

object nivel1 inherits NivelDeJuego {


Expand Down Expand Up @@ -319,7 +331,7 @@ object nivel4 inherits NivelDeJuego {
}

override method siguiente(){
return self
return fin
}

override method terminarAccionNivel(){
Expand Down

0 comments on commit 593a92c

Please sign in to comment.