Class: Gemwarrior::Creature

Inherits:
Entity
  • Object
show all
Defined in:
lib/gemwarrior/entities/creature.rb

Direct Known Subclasses

Monster, Player

Instance Attribute Summary collapse

Attributes inherited from Entity

#description, #name

Method Summary

Methods inherited from Entity

#status

Instance Attribute Details

#atk_hiObject

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_loObject

Returns the value of attribute atk_lo.



8
9
10
# File 'lib/gemwarrior/entities/creature.rb', line 8

def atk_lo
  @atk_lo
end

#defenseObject

Returns the value of attribute defense.



8
9
10
# File 'lib/gemwarrior/entities/creature.rb', line 8

def defense
  @defense
end

#dexterityObject

Returns the value of attribute dexterity.



8
9
10
# File 'lib/gemwarrior/entities/creature.rb', line 8

def dexterity
  @dexterity
end

#faceObject

Returns the value of attribute face.



8
9
10
# File 'lib/gemwarrior/entities/creature.rb', line 8

def face
  @face
end

#handsObject

Returns the value of attribute hands.



8
9
10
# File 'lib/gemwarrior/entities/creature.rb', line 8

def hands
  @hands
end

#hp_curObject

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_maxObject

Returns the value of attribute hp_max.



8
9
10
# File 'lib/gemwarrior/entities/creature.rb', line 8

def hp_max
  @hp_max
end

#inventoryObject

Returns the value of attribute inventory.



8
9
10
# File 'lib/gemwarrior/entities/creature.rb', line 8

def inventory
  @inventory
end

#levelObject

Returns the value of attribute level.



8
9
10
# File 'lib/gemwarrior/entities/creature.rb', line 8

def level
  @level
end

#moodObject

Returns the value of attribute mood.



8
9
10
# File 'lib/gemwarrior/entities/creature.rb', line 8

def mood
  @mood
end

#roxObject

Returns the value of attribute rox.



8
9
10
# File 'lib/gemwarrior/entities/creature.rb', line 8

def rox
  @rox
end

#xpObject

Returns the value of attribute xp.



8
9
10
# File 'lib/gemwarrior/entities/creature.rb', line 8

def xp
  @xp
end