Class: RPG::System::TestBattler

Inherits:
Object
  • Object
show all
Defined in:
lib/rpg/system/test_battler.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initializeTestBattler

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_idObject

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

#equipsObject

Returns the value of attribute equips.



11
12
13
# File 'lib/rpg/system/test_battler.rb', line 11

def equips
  @equips
end

#levelObject

Returns the value of attribute level.



10
11
12
# File 'lib/rpg/system/test_battler.rb', line 10

def level
  @level
end