Class: Gemwarrior::Item

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

Direct Known Subclasses

Bed, Feather, Gun, SparklyThing, Stalactite, Stone, Stonemite, Throne, Tree

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/item.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/item.rb', line 8

def atk_lo
  @atk_lo
end

#equippableObject

Returns the value of attribute equippable.



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

def equippable
  @equippable
end

#equippedObject

Returns the value of attribute equipped.



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

def equipped
  @equipped
end

#takeableObject

Returns the value of attribute takeable.



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

def takeable
  @takeable
end

#useableObject

Returns the value of attribute useable.



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

def useable
  @useable
end