Class: RPG::System::TestBattler

Inherits:
Object
  • Object
show all
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

Instance Method Summary collapse

Methods included from RgssDb::JsonableConstructor

json_create, json_new

Methods included from RgssDb::Jsonable

#as_json, #to_json

Constructor Details

#initializeTestBattler

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_idObject

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_idObject

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_idObject

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_idObject

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_idObject

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

#equipsObject

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

#levelObject

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_idObject

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