Skip to content

Commit

Permalink
agrego diagrama. FIN
Browse files Browse the repository at this point in the history
  • Loading branch information
fabricioalg committed Nov 14, 2024
1 parent 66c0b5b commit f5e4018
Show file tree
Hide file tree
Showing 5 changed files with 73 additions and 6 deletions.
4 changes: 3 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -57,4 +57,6 @@ Otros elementos importantes del juego son los obstáculos, objetos (clases) inm

![Juego](assets/puerta1.png)

Cada nivel es un escenario el cual está representado en una clase Escenario. En este juego disponemos de 3 niveles para completar. Esta contiene la posición de las llaves en cada nivel, el método para agregar a isaac al mapa y un metodo visuales() abstracto. Cada escenario que hereda estos comportamientos utiliza visuales para agregar sus propias imagenes, ya que cada uno es diferente al otro.
Cada nivel es un escenario el cual está representado en una clase Escenario. En este juego disponemos de 3 niveles para completar. Esta contiene la posición de las llaves en cada nivel, el método para agregar a isaac al mapa y un metodo visuales() abstracto. Cada escenario que hereda estos comportamientos utiliza visuales para agregar sus propias imagenes, ya que cada uno es diferente al otro.

![Diagrama](assets/diagramaFinal.png)
Binary file added assets/diagramaFinal.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
69 changes: 69 additions & 0 deletions log/wollok1.log
Original file line number Diff line number Diff line change
@@ -0,0 +1,69 @@
{"level":"info","message":"⌛ Building environment","timeElapsed":135,"timestamp":"2024-11-14T02:01:41.316Z"}
{"level":"info","message":"⌛ Validating nivel.wlk","timeElapsed":109,"timestamp":"2024-11-14T02:01:41.426Z"}
{"level":"info","message":"⌛ Building environment","timeElapsed":188,"timestamp":"2024-11-14T02:01:42.518Z"}
{"level":"info","message":"⌛ Building environment","timeElapsed":280,"timestamp":"2024-11-14T02:01:42.800Z"}
{"level":"info","message":"⌛ Validating nivel.wlk","timeElapsed":123,"timestamp":"2024-11-14T02:01:42.923Z"}
{"level":"info","message":"⌛ Validating nivel.wlk","timeElapsed":122,"timestamp":"2024-11-14T02:01:43.055Z"}
{"level":"info","message":"⌛ Building environment","timeElapsed":271,"timestamp":"2024-11-14T02:01:44.403Z"}
{"level":"info","message":"⌛ Validating nivel.wlk","timeElapsed":145,"timestamp":"2024-11-14T02:01:44.555Z"}
{"level":"info","message":"⌛ Building environment","timeElapsed":170,"timestamp":"2024-11-14T02:01:44.726Z"}
{"level":"info","message":"⌛ Validating nivel.wlk","timeElapsed":143,"timestamp":"2024-11-14T02:01:44.871Z"}
{"level":"info","message":"⌛ Building environment","timeElapsed":161,"timestamp":"2024-11-14T02:01:45.033Z"}
{"level":"info","message":"⌛ Validating nivel.wlk","timeElapsed":117,"timestamp":"2024-11-14T02:01:45.160Z"}
{"level":"info","message":"⌛ Building environment","timeElapsed":199,"timestamp":"2024-11-14T02:01:52.857Z"}
{"level":"info","message":"⌛ Validating nivel.wlk","timeElapsed":106,"timestamp":"2024-11-14T02:01:52.965Z"}
{"level":"info","message":"⌛ Building environment","timeElapsed":162,"timestamp":"2024-11-14T02:01:53.372Z"}
{"level":"info","message":"⌛ Validating nivel.wlk","timeElapsed":113,"timestamp":"2024-11-14T02:01:53.486Z"}
{"level":"info","message":"⌛ Building environment","timeElapsed":228,"timestamp":"2024-11-14T02:04:20.272Z"}
{"level":"info","message":"⌛ Building environment","timeElapsed":165,"timestamp":"2024-11-14T02:04:20.438Z"}
{"level":"info","message":"⌛ Validating nivel.wlk","timeElapsed":109,"timestamp":"2024-11-14T02:04:20.548Z"}
{"level":"info","message":"⌛ Building environment","timeElapsed":135,"timestamp":"2024-11-14T02:04:20.683Z"}
{"level":"info","message":"⌛ Validating nivel.wlk","timeElapsed":114,"timestamp":"2024-11-14T02:04:20.798Z"}
{"level":"info","message":"⌛ Building environment","timeElapsed":114,"timestamp":"2024-11-14T02:04:20.913Z"}
{"level":"info","message":"⌛ Validating nivel.wlk","timeElapsed":179,"timestamp":"2024-11-14T02:04:21.093Z"}
{"level":"info","message":"⌛ Validating nivel.wlk","timeElapsed":120,"timestamp":"2024-11-14T02:04:21.217Z"}
{"level":"info","message":"⌛ Building environment","timeElapsed":153,"timestamp":"2024-11-14T02:04:21.373Z"}
{"level":"info","message":"⌛ Building environment","timeElapsed":149,"timestamp":"2024-11-14T02:04:21.530Z"}
{"level":"info","message":"⌛ Validating nivel.wlk","timeElapsed":142,"timestamp":"2024-11-14T02:04:21.680Z"}
{"level":"info","message":"⌛ Validating nivel.wlk","timeElapsed":119,"timestamp":"2024-11-14T02:04:21.798Z"}
{"level":"info","message":"⌛ Building environment","timeElapsed":122,"timestamp":"2024-11-14T02:04:21.921Z"}
{"level":"info","message":"⌛ Building environment","timeElapsed":129,"timestamp":"2024-11-14T02:04:22.051Z"}
{"level":"info","message":"⌛ Validating nivel.wlk","timeElapsed":110,"timestamp":"2024-11-14T02:04:22.162Z"}
{"level":"info","message":"⌛ Building environment","timeElapsed":122,"timestamp":"2024-11-14T02:04:22.285Z"}
{"level":"info","message":"⌛ Validating nivel.wlk","timeElapsed":149,"timestamp":"2024-11-14T02:04:22.437Z"}
{"level":"info","message":"⌛ Building environment","timeElapsed":155,"timestamp":"2024-11-14T02:04:22.600Z"}
{"level":"info","message":"⌛ Validating nivel.wlk","timeElapsed":158,"timestamp":"2024-11-14T02:04:22.758Z"}
{"level":"info","message":"⌛ Building environment","timeElapsed":115,"timestamp":"2024-11-14T02:04:22.874Z"}
{"level":"info","message":"⌛ Validating nivel.wlk","timeElapsed":132,"timestamp":"2024-11-14T02:04:23.007Z"}
{"level":"info","message":"⌛ Validating nivel.wlk","timeElapsed":112,"timestamp":"2024-11-14T02:04:23.125Z"}
{"level":"info","message":"⌛ Building environment","timeElapsed":128,"timestamp":"2024-11-14T02:04:23.253Z"}
{"level":"info","message":"⌛ Building environment","timeElapsed":164,"timestamp":"2024-11-14T02:04:23.418Z"}
{"level":"info","message":"⌛ Validating nivel.wlk","timeElapsed":124,"timestamp":"2024-11-14T02:04:23.543Z"}
{"level":"info","message":"⌛ Building environment","timeElapsed":114,"timestamp":"2024-11-14T02:04:23.657Z"}
{"level":"info","message":"⌛ Validating nivel.wlk","timeElapsed":131,"timestamp":"2024-11-14T02:04:23.787Z"}
{"level":"info","message":"⌛ Building environment","timeElapsed":112,"timestamp":"2024-11-14T02:04:23.900Z"}
{"level":"info","message":"⌛ Validating nivel.wlk","timeElapsed":128,"timestamp":"2024-11-14T02:04:24.029Z"}
{"level":"info","message":"⌛ Building environment","timeElapsed":134,"timestamp":"2024-11-14T02:04:24.164Z"}
{"level":"info","message":"⌛ Validating nivel.wlk","timeElapsed":126,"timestamp":"2024-11-14T02:04:24.294Z"}
{"level":"info","message":"⌛ Building environment","timeElapsed":125,"timestamp":"2024-11-14T02:04:24.424Z"}
{"level":"info","message":"⌛ Validating nivel.wlk","timeElapsed":152,"timestamp":"2024-11-14T02:04:24.577Z"}
{"level":"info","message":"⌛ Building environment","timeElapsed":211,"timestamp":"2024-11-14T02:04:24.793Z"}
{"level":"info","message":"⌛ Validating nivel.wlk","timeElapsed":118,"timestamp":"2024-11-14T02:04:24.917Z"}
{"level":"info","message":"⌛ Building environment","timeElapsed":163,"timestamp":"2024-11-14T02:04:25.081Z"}
{"level":"info","message":"⌛ Validating nivel.wlk","timeElapsed":135,"timestamp":"2024-11-14T02:04:25.230Z"}
{"level":"info","message":"⌛ Validating nivel.wlk","timeElapsed":107,"timestamp":"2024-11-14T02:04:25.338Z"}
{"level":"info","message":"⌛ Building environment","timeElapsed":142,"timestamp":"2024-11-14T02:04:25.480Z"}
{"level":"info","message":"⌛ Validating nivel.wlk","timeElapsed":101,"timestamp":"2024-11-14T02:04:25.585Z"}
{"level":"info","message":"⌛ Building environment","timeElapsed":185,"timestamp":"2024-11-14T02:04:40.000Z"}
{"level":"info","message":"⌛ Validating nivel.wlk","timeElapsed":129,"timestamp":"2024-11-14T02:04:40.131Z"}
{"level":"info","message":"⌛ Building environment","timeElapsed":182,"timestamp":"2024-11-14T02:04:40.630Z"}
{"level":"info","message":"⌛ Building environment","timeElapsed":153,"timestamp":"2024-11-14T02:04:41.482Z"}
{"level":"info","message":"⌛ Validating nivel.wlk","timeElapsed":114,"timestamp":"2024-11-14T02:04:41.598Z"}
{"level":"info","message":"⌛ Building environment","timeElapsed":196,"timestamp":"2024-11-14T02:04:42.512Z"}
{"level":"info","message":"⌛ Validating nivel.wlk","timeElapsed":126,"timestamp":"2024-11-14T02:04:42.643Z"}
{"level":"info","message":"⌛ Building environment","timeElapsed":139,"timestamp":"2024-11-14T02:04:44.486Z"}
{"level":"info","message":"⌛ Validating isaac.wlk","timeElapsed":106,"timestamp":"2024-11-14T02:04:44.595Z"}
{"level":"info","message":"⌛ Building environment","timeElapsed":170,"timestamp":"2024-11-14T02:04:49.908Z"}
{"level":"info","message":"⌛ Validating obstaculos.wlk","timeElapsed":137,"timestamp":"2024-11-14T02:04:50.047Z"}
{"level":"info","message":"⌛ Building environment","timeElapsed":189,"timestamp":"2024-11-14T02:04:50.906Z"}
{"level":"info","message":"⌛ Validating obstaculos.wlk","timeElapsed":125,"timestamp":"2024-11-14T02:04:51.035Z"}
2 changes: 1 addition & 1 deletion nivel.wlk
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,7 @@ object nivel{
}

class Escenario{
const property posicionLlave
const property posicionLlave
method aniadirIsaac(){
game.addVisual(isaac)
}
Expand Down
4 changes: 0 additions & 4 deletions obstaculos.wlk
Original file line number Diff line number Diff line change
Expand Up @@ -60,10 +60,6 @@ object cura{
game.say(isaac, "Ahora tengo " + isaac.vida() + " de vida")
game.removeVisual(self)
}

method cambiarPosicion(nuevaPosicion){
self.position(nuevaPosicion)
}
}

object cofre{
Expand Down

0 comments on commit f5e4018

Please sign in to comment.