Class: Gemwarrior::Tree

Inherits:
Item show all
Defined in:
lib/gemwarrior/entities/items/tree.rb

Instance Attribute Summary

Attributes inherited from Item

#atk_hi, #atk_lo, #consumable, #equippable, #equipped, #takeable, #use, #useable, #used

Attributes inherited from Entity

#description, #name

Instance Method Summary collapse

Methods inherited from Item

#describe

Methods inherited from Entity

#status

Constructor Details

#initializeTree

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