Class: RPG::System::TestBattler
- Inherits:
-
Object
- Object
- RPG::System::TestBattler
- Defined in:
- lib/rpg/system/test_battler.rb
Instance Attribute Summary collapse
-
#actor_id ⇒ Object
Returns the value of attribute actor_id.
-
#equips ⇒ Object
Returns the value of attribute equips.
-
#level ⇒ Object
Returns the value of attribute level.
Instance Method Summary collapse
-
#initialize ⇒ TestBattler
constructor
A new instance of TestBattler.
Constructor Details
#initialize ⇒ TestBattler
Returns a new instance of TestBattler.
4 5 6 7 8 |
# File 'lib/rpg/system/test_battler.rb', line 4 def initialize @actor_id = 1 @level = 1 @equips = [0,0,0,0,0] end |
Instance Attribute Details
#actor_id ⇒ Object
Returns the value of attribute actor_id.
9 10 11 |
# File 'lib/rpg/system/test_battler.rb', line 9 def actor_id @actor_id end |
#equips ⇒ Object
Returns the value of attribute equips.
11 12 13 |
# File 'lib/rpg/system/test_battler.rb', line 11 def equips @equips end |
#level ⇒ Object
Returns the value of attribute level.
10 11 12 |
# File 'lib/rpg/system/test_battler.rb', line 10 def level @level end |