Class: RPG::System::TestBattler
- Inherits:
-
Object
- Object
- RPG::System::TestBattler
- Extended by:
- RgssDb::JsonableConstructor
- Includes:
- RgssDb::Jsonable
- Defined in:
- lib/rgss_db/model/rpg_maker_data/vx/rpg/system_test_battler.rb,
lib/rgss_db/model/rpg_maker_data/xp/rpg/system_test_battler.rb,
lib/rgss_db/model/rpg_maker_data/vx_ace/rpg/system_test_battler.rb
Overview
The data class for the actors used in battle tests.
Instance Attribute Summary collapse
-
#actor_id ⇒ Object
Returns the value of attribute actor_id.
-
#armor1_id ⇒ Object
Returns the value of attribute armor1_id.
-
#armor2_id ⇒ Object
Returns the value of attribute armor2_id.
-
#armor3_id ⇒ Object
Returns the value of attribute armor3_id.
-
#armor4_id ⇒ Object
Returns the value of attribute armor4_id.
-
#equips ⇒ Object
Returns the value of attribute equips.
-
#level ⇒ Object
Returns the value of attribute level.
-
#weapon_id ⇒ Object
Returns the value of attribute weapon_id.
Instance Method Summary collapse
-
#initialize ⇒ TestBattler
constructor
A new instance of TestBattler.
Methods included from RgssDb::JsonableConstructor
Methods included from RgssDb::Jsonable
Constructor Details
#initialize ⇒ TestBattler
Returns a new instance of TestBattler.
12 13 14 15 16 17 18 19 20 |
# File 'lib/rgss_db/model/rpg_maker_data/vx/rpg/system_test_battler.rb', line 12 def initialize @actor_id = 1 @level = 1 @weapon_id = 0 @armor1_id = 0 @armor2_id = 0 @armor3_id = 0 @armor4_id = 0 end |
Instance Attribute Details
#actor_id ⇒ Object
Returns the value of attribute actor_id.
22 23 24 |
# File 'lib/rgss_db/model/rpg_maker_data/vx/rpg/system_test_battler.rb', line 22 def actor_id @actor_id end |
#armor1_id ⇒ Object
Returns the value of attribute armor1_id.
22 23 24 |
# File 'lib/rgss_db/model/rpg_maker_data/vx/rpg/system_test_battler.rb', line 22 def armor1_id @armor1_id end |
#armor2_id ⇒ Object
Returns the value of attribute armor2_id.
22 23 24 |
# File 'lib/rgss_db/model/rpg_maker_data/vx/rpg/system_test_battler.rb', line 22 def armor2_id @armor2_id end |
#armor3_id ⇒ Object
Returns the value of attribute armor3_id.
22 23 24 |
# File 'lib/rgss_db/model/rpg_maker_data/vx/rpg/system_test_battler.rb', line 22 def armor3_id @armor3_id end |
#armor4_id ⇒ Object
Returns the value of attribute armor4_id.
22 23 24 |
# File 'lib/rgss_db/model/rpg_maker_data/vx/rpg/system_test_battler.rb', line 22 def armor4_id @armor4_id end |
#equips ⇒ Object
Returns the value of attribute equips.
21 22 23 |
# File 'lib/rgss_db/model/rpg_maker_data/vx_ace/rpg/system_test_battler.rb', line 21 def equips @equips end |
#level ⇒ Object
Returns the value of attribute level.
22 23 24 |
# File 'lib/rgss_db/model/rpg_maker_data/vx/rpg/system_test_battler.rb', line 22 def level @level end |
#weapon_id ⇒ Object
Returns the value of attribute weapon_id.
22 23 24 |
# File 'lib/rgss_db/model/rpg_maker_data/vx/rpg/system_test_battler.rb', line 22 def weapon_id @weapon_id end |