Method: Gemwarrior::Tree#initialize
- Defined in:
- lib/gemwarrior/entities/items/tree.rb
#initialize ⇒ Tree
Returns a new instance of Tree.
8 9 10 11 12 13 14 15 16 17 |
# File 'lib/gemwarrior/entities/items/tree.rb', line 8 def initialize self.name = 'tree' self.description = 'A mighty representation of nature, older than your father\'s father\'s second great-uncle.' self.atk_lo = nil self.atk_hi = nil self.takeable = false self.useable = false self.equippable = false self.equipped = false end |