Class: Gemwarrior::Creature
- Defined in:
- lib/gemwarrior/entities/creature.rb
Instance Attribute Summary collapse
-
#atk_hi ⇒ Object
Returns the value of attribute atk_hi.
-
#atk_lo ⇒ Object
Returns the value of attribute atk_lo.
-
#defense ⇒ Object
Returns the value of attribute defense.
-
#dexterity ⇒ Object
Returns the value of attribute dexterity.
-
#face ⇒ Object
Returns the value of attribute face.
-
#hands ⇒ Object
Returns the value of attribute hands.
-
#hp_cur ⇒ Object
Returns the value of attribute hp_cur.
-
#hp_max ⇒ Object
Returns the value of attribute hp_max.
-
#inventory ⇒ Object
Returns the value of attribute inventory.
-
#level ⇒ Object
Returns the value of attribute level.
-
#mood ⇒ Object
Returns the value of attribute mood.
-
#rox ⇒ Object
Returns the value of attribute rox.
-
#xp ⇒ Object
Returns the value of attribute xp.
Attributes inherited from Entity
Method Summary
Methods inherited from Entity
Instance Attribute Details
#atk_hi ⇒ Object
Returns the value of attribute atk_hi.
8 9 10 |
# File 'lib/gemwarrior/entities/creature.rb', line 8 def atk_hi @atk_hi end |
#atk_lo ⇒ Object
Returns the value of attribute atk_lo.
8 9 10 |
# File 'lib/gemwarrior/entities/creature.rb', line 8 def atk_lo @atk_lo end |
#defense ⇒ Object
Returns the value of attribute defense.
8 9 10 |
# File 'lib/gemwarrior/entities/creature.rb', line 8 def defense @defense end |
#dexterity ⇒ Object
Returns the value of attribute dexterity.
8 9 10 |
# File 'lib/gemwarrior/entities/creature.rb', line 8 def dexterity @dexterity end |
#face ⇒ Object
Returns the value of attribute face.
8 9 10 |
# File 'lib/gemwarrior/entities/creature.rb', line 8 def face @face end |
#hands ⇒ Object
Returns the value of attribute hands.
8 9 10 |
# File 'lib/gemwarrior/entities/creature.rb', line 8 def hands @hands end |
#hp_cur ⇒ Object
Returns the value of attribute hp_cur.
8 9 10 |
# File 'lib/gemwarrior/entities/creature.rb', line 8 def hp_cur @hp_cur end |
#hp_max ⇒ Object
Returns the value of attribute hp_max.
8 9 10 |
# File 'lib/gemwarrior/entities/creature.rb', line 8 def hp_max @hp_max end |
#inventory ⇒ Object
Returns the value of attribute inventory.
8 9 10 |
# File 'lib/gemwarrior/entities/creature.rb', line 8 def inventory @inventory end |
#level ⇒ Object
Returns the value of attribute level.
8 9 10 |
# File 'lib/gemwarrior/entities/creature.rb', line 8 def level @level end |
#mood ⇒ Object
Returns the value of attribute mood.
8 9 10 |
# File 'lib/gemwarrior/entities/creature.rb', line 8 def mood @mood end |
#rox ⇒ Object
Returns the value of attribute rox.
8 9 10 |
# File 'lib/gemwarrior/entities/creature.rb', line 8 def rox @rox end |
#xp ⇒ Object
Returns the value of attribute xp.
8 9 10 |
# File 'lib/gemwarrior/entities/creature.rb', line 8 def xp @xp end |