Class: Gemwarrior::Cup
- Defined in:
- lib/gemwarrior/entities/items/cup.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 ⇒ Cup
constructor
A new instance of Cup.
Methods inherited from Item
Methods inherited from Entity
Constructor Details
#initialize ⇒ Cup
Returns a new instance of Cup.
8 9 10 11 12 13 14 15 16 17 |
# File 'lib/gemwarrior/entities/items/cup.rb', line 8 def initialize self.name = 'cup' self.description = 'A nice, stone mug, perfect for putting things into and then using to carry such things from place to place.' self.atk_lo = nil self.atk_hi = nil self.takeable = true self.useable = false self.equippable = false self.equipped = false end |