Skip to content

Commit

Permalink
mas assets
Browse files Browse the repository at this point in the history
  • Loading branch information
brisabrussa28 committed Oct 14, 2024
1 parent 00fc447 commit e492e9e
Show file tree
Hide file tree
Showing 10 changed files with 21 additions and 3 deletions.
Binary file added assets/archaic coin.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
File renamed without changes
Binary file added assets/capsula.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/circus coin.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/comida.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/lunaver coin.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
File renamed without changes
Binary file added assets/semilla.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
File renamed without changes
24 changes: 21 additions & 3 deletions puntos.wlk
Original file line number Diff line number Diff line change
Expand Up @@ -5,11 +5,29 @@ class Fruta{

method image(){
if(points.frutasObtenidas() < 10){
return "banana.png"
if(jugador.image() == "heladon.png"){
return "bananas.png"
} else if (jugador.image() == "piopio.png"){
return "circus coin.png"
} else {
return "semilla.png"
}
}if(points.frutasObtenidas() < 20){
return "uva2.png"
if(jugador.image() == "heladon.png"){
return "uva.png"
} else if (jugador.image() == "piopio.png"){
return "lunaver coin.png"
} else {
return "capsula.png"
}
}
return "sandia.png"
if(jugador.image() == "heladon.png"){
return "sandia1.png"
} else if (jugador.image() == "piopio.png"){
return "archaic coin.png"
} else {
return "comida.png"
}
}

method esFruta() = true
Expand Down

0 comments on commit e492e9e

Please sign in to comment.