Skip to content

Commit

Permalink
Update personas.wlk
Browse files Browse the repository at this point in the history
  • Loading branch information
regueiranehuen authored Nov 22, 2024
1 parent 9a0bd54 commit 2d64aa7
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions personas.wlk
Original file line number Diff line number Diff line change
Expand Up @@ -22,16 +22,18 @@ class Persona{
method vivirEvento(evento){
emociones.forEach({emocion=>emocion.agregarEvento()})
emociones.forEach({emocion=>emocion.puedeLiberarse(self)
emocion.liberarse(Evento)})
emocion.liberarse(evento)})
}


}

class Grupo{
var integrantes = []

// 6)
method vivirMismoEvento(evento){
integrantes.forEach({integrante=>integrante.vivirEvento(Evento)})
integrantes.forEach({integrante=>integrante.vivirEvento(evento)})
}

}

0 comments on commit 2d64aa7

Please sign in to comment.