Class: RPG::BaseItem
- Inherits:
-
Object
- Object
- RPG::BaseItem
- Defined in:
- lib/R3EXS/RGSS3.rb
Defined Under Namespace
Classes: Feature
Instance Attribute Summary collapse
-
#description ⇒ Object
Returns the value of attribute description.
-
#features ⇒ Object
Returns the value of attribute features.
-
#icon_index ⇒ Object
Returns the value of attribute icon_index.
-
#id ⇒ Object
Returns the value of attribute id.
-
#name ⇒ Object
Returns the value of attribute name.
-
#note ⇒ Object
Returns the value of attribute note.
Instance Method Summary collapse
-
#initialize ⇒ BaseItem
constructor
A new instance of BaseItem.
Constructor Details
#initialize ⇒ BaseItem
Returns a new instance of BaseItem.
624 625 626 627 628 629 630 631 |
# File 'lib/R3EXS/RGSS3.rb', line 624 def initialize @id = 0 @name = '' @icon_index = 0 @description = '' @features = [] @note = '' end |
Instance Attribute Details
#description ⇒ Object
Returns the value of attribute description.
636 637 638 |
# File 'lib/R3EXS/RGSS3.rb', line 636 def description @description end |
#features ⇒ Object
Returns the value of attribute features.
637 638 639 |
# File 'lib/R3EXS/RGSS3.rb', line 637 def features @features end |
#icon_index ⇒ Object
Returns the value of attribute icon_index.
635 636 637 |
# File 'lib/R3EXS/RGSS3.rb', line 635 def icon_index @icon_index end |
#id ⇒ Object
Returns the value of attribute id.
633 634 635 |
# File 'lib/R3EXS/RGSS3.rb', line 633 def id @id end |
#name ⇒ Object
Returns the value of attribute name.
634 635 636 |
# File 'lib/R3EXS/RGSS3.rb', line 634 def name @name end |
#note ⇒ Object
Returns the value of attribute note.
638 639 640 |
# File 'lib/R3EXS/RGSS3.rb', line 638 def note @note end |