Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- class Archeia_Nessiah < Entity_Base
- attr_accessor :mood
- def execute
- super
- @mood = :angry
- check_mood
- end
- def problem?
- return true
- end
- def check_mood
- if problem?
- @mood = :angry
- else
- @mood = :happy
- end
- end
- end
- def init
- $archeia = Archeia_Nessiah.new
- end
- init
- $archeia.problem? = false
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement