Skip to content

Commit

Permalink
Update emociones.wlk
Browse files Browse the repository at this point in the history
  • Loading branch information
regueiranehuen authored Nov 22, 2024
1 parent afe9aff commit fe34bca
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions emociones.wlk
Original file line number Diff line number Diff line change
Expand Up @@ -74,14 +74,11 @@ class Tristeza inherits Emocion{

var causa = self.causaInicial()

method causa()=causa


method causaInicial()="melancolia"

method setCausa(nuevaCausa){
causa=nuevaCausa
}

override method puedeLiberarse(persona){
return super(persona) && causa != "melancolia"
}
Expand Down

0 comments on commit fe34bca

Please sign in to comment.