Class: Core::Game::Item
Instance Attribute Summary collapse
-
#desc ⇒ Object
readonly
Returns the value of attribute desc.
-
#effects ⇒ Object
readonly
Returns the value of attribute effects.
-
#icon ⇒ Object
readonly
Returns the value of attribute icon.
-
#icon_file ⇒ Object
readonly
Returns the value of attribute icon_file.
-
#img ⇒ Object
readonly
Returns the value of attribute img.
-
#name ⇒ Object
readonly
Returns the value of attribute name.
-
#type ⇒ Object
readonly
Returns the value of attribute type.
-
#weight ⇒ Object
readonly
Returns the value of attribute weight.
Instance Attribute Details
#desc ⇒ Object (readonly)
Returns the value of attribute desc.
5 6 7 |
# File 'lib/game/item.rb', line 5 def desc @desc end |
#effects ⇒ Object (readonly)
Returns the value of attribute effects.
5 6 7 |
# File 'lib/game/item.rb', line 5 def effects @effects end |
#icon ⇒ Object (readonly)
Returns the value of attribute icon.
5 6 7 |
# File 'lib/game/item.rb', line 5 def icon @icon end |
#icon_file ⇒ Object (readonly)
Returns the value of attribute icon_file.
6 7 8 |
# File 'lib/game/item.rb', line 6 def icon_file @icon_file end |
#img ⇒ Object (readonly)
Returns the value of attribute img.
5 6 7 |
# File 'lib/game/item.rb', line 5 def img @img end |
#name ⇒ Object (readonly)
Returns the value of attribute name.
5 6 7 |
# File 'lib/game/item.rb', line 5 def name @name end |
#type ⇒ Object (readonly)
Returns the value of attribute type.
5 6 7 |
# File 'lib/game/item.rb', line 5 def type @type end |
#weight ⇒ Object (readonly)
Returns the value of attribute weight.
5 6 7 |
# File 'lib/game/item.rb', line 5 def weight @weight end |