Class: RPG::EquipItem
- Extended by:
- RgssDb::JsonableConstructor
- Includes:
- RgssDb::Jsonable
- Defined in:
- lib/rgss_db/model/rpg_maker_data/vx_ace/rpg/equip_item.rb
Overview
A superclass of weapons and armor.
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.
Methods included from RgssDb::JsonableConstructor
Methods included from RgssDb::Jsonable
Methods inherited from BaseItem
Constructor Details
#initialize ⇒ EquipItem
Returns a new instance of EquipItem.
11 12 13 14 15 16 |
# File 'lib/rgss_db/model/rpg_maker_data/vx_ace/rpg/equip_item.rb', line 11 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.
17 18 19 |
# File 'lib/rgss_db/model/rpg_maker_data/vx_ace/rpg/equip_item.rb', line 17 def etype_id @etype_id end |
#params ⇒ Object
Returns the value of attribute params.
17 18 19 |
# File 'lib/rgss_db/model/rpg_maker_data/vx_ace/rpg/equip_item.rb', line 17 def params @params end |
#price ⇒ Object
Returns the value of attribute price.
17 18 19 |
# File 'lib/rgss_db/model/rpg_maker_data/vx_ace/rpg/equip_item.rb', line 17 def price @price end |