Class: Gemwarrior::Stone
- Defined in:
- lib/gemwarrior/entities/items/stone.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 ⇒ Stone
constructor
A new instance of Stone.
Methods inherited from Item
Methods inherited from Entity
Constructor Details
#initialize ⇒ Stone
Returns a new instance of Stone.
8 9 10 11 12 13 14 15 16 17 |
# File 'lib/gemwarrior/entities/items/stone.rb', line 8 def initialize self.name = 'stone' self.description = 'A small, sharp mega pebble, suitable for tossing in amusement, and perhaps combat.' self.atk_lo = 2 self.atk_hi = 3 self.takeable = true self.useable = false self.equippable = true self.equipped = false end |