Class: Gemwarrior::Keystone
- Defined in:
- lib/gemwarrior/entities/items/keystone.rb
Instance Attribute Summary
Attributes inherited from Item
#atk_hi, #atk_lo, #equippable, #equipped, #reuse, #takeable, #use, #useable
Attributes inherited from Entity
Instance Method Summary collapse
-
#initialize ⇒ Keystone
constructor
A new instance of Keystone.
Methods inherited from Item
Methods inherited from Entity
Constructor Details
#initialize ⇒ Keystone
Returns a new instance of Keystone.
8 9 10 11 12 13 14 15 16 17 |
# File 'lib/gemwarrior/entities/items/keystone.rb', line 8 def initialize self.name = 'keystone' self.description = 'Certainly greater than the sum of its parts, this smallish stone glows faintly and feels slick to the touch.' self.atk_lo = nil self.atk_hi = nil self.takeable = true self.useable = false self.equippable = false self.equipped = false end |