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.
646 647 648 649 650 651 652 653 |
# File 'lib/R3EXS/RGSS3.rb', line 646 def initialize @id = 0 @name = '' @icon_index = 0 @description = '' @features = [] @note = '' end |
Instance Attribute Details
#description ⇒ Object
Returns the value of attribute description.
658 659 660 |
# File 'lib/R3EXS/RGSS3.rb', line 658 def description @description end |
#features ⇒ Object
Returns the value of attribute features.
659 660 661 |
# File 'lib/R3EXS/RGSS3.rb', line 659 def features @features end |
#icon_index ⇒ Object
Returns the value of attribute icon_index.
657 658 659 |
# File 'lib/R3EXS/RGSS3.rb', line 657 def icon_index @icon_index end |
#id ⇒ Object
Returns the value of attribute id.
655 656 657 |
# File 'lib/R3EXS/RGSS3.rb', line 655 def id @id end |
#name ⇒ Object
Returns the value of attribute name.
656 657 658 |
# File 'lib/R3EXS/RGSS3.rb', line 656 def name @name end |
#note ⇒ Object
Returns the value of attribute note.
660 661 662 |
# File 'lib/R3EXS/RGSS3.rb', line 660 def note @note end |