Skip to content
Snippets Groups Projects

Taberna

Merged izajime requested to merge taberna into ciudad
6 files
+ 228
24
Compare changes
  • Side-by-side
  • Inline
Files
6
@@ -145,6 +145,12 @@ class Jugador {
notifyObservers()
}
fun actualizarNivelCiudad(valor: Int) {
nivelCiudad = valor
RepositorioJugador.setNivelTaberna(valor)
notifyObservers()
}
fun actualizarObjetosTienda(nObjetos : Int){
val nuevosObjetos = RepositorioObjetos.obtenerObjetosAleatoriosTienda(nObjetos)
this.objetosTienda = nuevosObjetos
Loading