Class: RPG::BaseItem::Feature
- Inherits:
-
Object
- Object
- RPG::BaseItem::Feature
- Defined in:
- lib/R3EXS/RGSS3.rb
Instance Attribute Summary collapse
-
#code ⇒ Object
Returns the value of attribute code.
-
#data_id ⇒ Object
Returns the value of attribute data_id.
-
#value ⇒ Object
Returns the value of attribute value.
Instance Method Summary collapse
-
#initialize(code = 0, data_id = 0, value = 0) ⇒ Feature
constructor
A new instance of Feature.
Constructor Details
#initialize(code = 0, data_id = 0, value = 0) ⇒ Feature
Returns a new instance of Feature.
955 956 957 958 959 |
# File 'lib/R3EXS/RGSS3.rb', line 955 def initialize(code = 0, data_id = 0, value = 0) @code = code @data_id = data_id @value = value end |
Instance Attribute Details
#code ⇒ Object
Returns the value of attribute code.
961 962 963 |
# File 'lib/R3EXS/RGSS3.rb', line 961 def code @code end |
#data_id ⇒ Object
Returns the value of attribute data_id.
962 963 964 |
# File 'lib/R3EXS/RGSS3.rb', line 962 def data_id @data_id end |
#value ⇒ Object
Returns the value of attribute value.
963 964 965 |
# File 'lib/R3EXS/RGSS3.rb', line 963 def value @value end |