Class: Gemwarrior::Flower
- Defined in:
- lib/gemwarrior/entities/items/flower.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 ⇒ Flower
constructor
A new instance of Flower.
Methods inherited from Item
Methods inherited from Entity
Constructor Details
#initialize ⇒ Flower
Returns a new instance of Flower.
8 9 10 11 12 13 14 15 16 17 |
# File 'lib/gemwarrior/entities/items/flower.rb', line 8 def initialize self.name = 'flower' self.description = 'Petals the color of clear sky and a stem of bright white. A most curious plant.' self.atk_lo = nil self.atk_hi = nil self.takeable = true self.useable = false self.equippable = false self.equipped = false end |