Skip to content

Commit

Permalink
nivelM casi completado, puede agarrar las llaves cualquiera de los dos
Browse files Browse the repository at this point in the history
  • Loading branch information
MateoGiuffra committed Nov 17, 2023
1 parent de1a4d9 commit 87d8c28
Show file tree
Hide file tree
Showing 13 changed files with 434 additions and 277 deletions.
Binary file added assets/LR1.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added assets/LR2.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added assets/LR3.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added assets/LR4.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added assets/LR5.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added assets/LR6.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified assets/nivelM.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
8 changes: 8 additions & 0 deletions src/direcciones.wlk
Original file line number Diff line number Diff line change
Expand Up @@ -61,6 +61,14 @@ object tablero {
method haySolido(position, personaje){
return game.getObjectsIn(position).any({objeto => objeto.esSolidoPara(personaje)})
}

method hayLlave(position){
return game.getObjectsIn(position).any({objeto => objeto.esLlave()})
}
method llaveCercana(position){
return game.getObjectsIn(position).find({objeto => objeto.esLlave()})
}


}

Expand Down
Loading

0 comments on commit 87d8c28

Please sign in to comment.