diff --git a/assets/archaic coin.png b/assets/archaic coin.png new file mode 100644 index 0000000..f231d0a Binary files /dev/null and b/assets/archaic coin.png differ diff --git a/assets/banana.png b/assets/bananas.png similarity index 100% rename from assets/banana.png rename to assets/bananas.png diff --git a/assets/capsula.png b/assets/capsula.png new file mode 100644 index 0000000..4a8360f Binary files /dev/null and b/assets/capsula.png differ diff --git a/assets/circus coin.png b/assets/circus coin.png new file mode 100644 index 0000000..b04bfd8 Binary files /dev/null and b/assets/circus coin.png differ diff --git a/assets/comida.png b/assets/comida.png new file mode 100644 index 0000000..eb703e3 Binary files /dev/null and b/assets/comida.png differ diff --git a/assets/lunaver coin.png b/assets/lunaver coin.png new file mode 100644 index 0000000..f27bac4 Binary files /dev/null and b/assets/lunaver coin.png differ diff --git a/assets/sandia.png b/assets/sandia1.png similarity index 100% rename from assets/sandia.png rename to assets/sandia1.png diff --git a/assets/semilla.png b/assets/semilla.png new file mode 100644 index 0000000..c2e10db Binary files /dev/null and b/assets/semilla.png differ diff --git a/assets/uva2.png b/assets/uva.png similarity index 100% rename from assets/uva2.png rename to assets/uva.png diff --git a/puntos.wlk b/puntos.wlk index e57b083..a01953f 100644 --- a/puntos.wlk +++ b/puntos.wlk @@ -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