Class: Gemwarrior::SparklyThing
- Defined in:
- lib/gemwarrior/entities/items/sparklything.rb
Instance Attribute Summary
Attributes inherited from Item
#atk_hi, #atk_lo, #equippable, #equipped, #takeable, #useable
Attributes inherited from Entity
Instance Method Summary collapse
-
#initialize ⇒ SparklyThing
constructor
A new instance of SparklyThing.
Methods inherited from Entity
Constructor Details
#initialize ⇒ SparklyThing
Returns a new instance of SparklyThing.
8 9 10 11 12 13 14 15 16 17 |
# File 'lib/gemwarrior/entities/items/sparklything.rb', line 8 def initialize self.name = 'SparklyThing(tm)' self.description = 'The sparkling that this thing does is unimaginably brilliant.' self.atk_lo = nil self.atk_hi = nil self.takeable = true self.useable = true self.equippable = false self.equipped = false end |