Class: RPG::EquipItem
Instance Attribute Summary collapse
-
#etype_id ⇒ Object
Returns the value of attribute etype_id.
-
#params ⇒ Object
Returns the value of attribute params.
-
#price ⇒ Object
Returns the value of attribute price.
Attributes inherited from BaseItem
#description, #features, #icon_index, #id, #name, #note
Instance Method Summary collapse
-
#initialize ⇒ EquipItem
constructor
A new instance of EquipItem.
Constructor Details
#initialize ⇒ EquipItem
Returns a new instance of EquipItem.
615 616 617 618 619 620 |
# File 'lib/rgss3/rpg.rb', line 615 def initialize super @price = 0 @etype_id = 0 @params = [0] * 8 end |
Instance Attribute Details
#etype_id ⇒ Object
Returns the value of attribute etype_id.
622 623 624 |
# File 'lib/rgss3/rpg.rb', line 622 def etype_id @etype_id end |
#params ⇒ Object
Returns the value of attribute params.
623 624 625 |
# File 'lib/rgss3/rpg.rb', line 623 def params @params end |
#price ⇒ Object
Returns the value of attribute price.
621 622 623 |
# File 'lib/rgss3/rpg.rb', line 621 def price @price end |