Skip to content

Commit

Permalink
reinicia bien
Browse files Browse the repository at this point in the history
  • Loading branch information
castiel21 committed Oct 1, 2024
1 parent 269d218 commit d18967c
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
4 changes: 2 additions & 2 deletions dinoGame.wlk
Original file line number Diff line number Diff line change
Expand Up @@ -75,7 +75,7 @@ object cactus {

method iniciar(){
position = self.posicionInicial()
game.onTick(100,"moverCactus",{self.mover()})
game.onTick(velocidad,"moverCactus",{self.mover()})
}

method mover(){
Expand All @@ -88,7 +88,7 @@ object cactus {
}

method detener(){

game.removeTickEvent("moverCactus")
}
}

Expand Down
2 changes: 2 additions & 0 deletions log/wollok.log
Original file line number Diff line number Diff line change
Expand Up @@ -1948,3 +1948,5 @@
{"exitCode":"SIGHUP","level":"info","message":"👾 Game executed mainExample.DinoGame on /home/infolab/Descargas/dino2-drimteam","timeElapsed":16696,"timestamp":"2024-10-01T23:40:54.288Z"}
{"exitCode":"SIGHUP","level":"info","message":"👾 Game executed mainExample.DinoGame on /home/infolab/Descargas/dino2-drimteam","timeElapsed":13948,"timestamp":"2024-10-01T23:42:34.971Z"}
{"exitCode":"SIGHUP","level":"info","message":"👾 Game executed mainExample.DinoGame on /home/infolab/Descargas/dino2-drimteam","timeElapsed":29806,"timestamp":"2024-10-01T23:43:43.401Z"}
{"exitCode":"SIGHUP","level":"info","message":"👾 Game executed mainExample.DinoGame on /home/infolab/Descargas/dino2-drimteam","timeElapsed":24000,"timestamp":"2024-10-01T23:47:28.266Z"}
{"exitCode":"SIGHUP","level":"info","message":"👾 Game executed mainExample.DinoGame on /home/infolab/Descargas/dino2-drimteam","timeElapsed":31927,"timestamp":"2024-10-01T23:49:39.369Z"}

0 comments on commit d18967c

Please sign in to comment.