Class: Starcraft2::Profile::SwarmRace

Inherits:
Object
  • Object
show all
Defined in:
lib/starcraft2/profile/swarm_race.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(options = {}) ⇒ SwarmRace

Returns a new instance of SwarmRace.



6
7
8
# File 'lib/starcraft2/profile/swarm_race.rb', line 6

def initialize(options = {})
  Utils.load(self, options)
end

Instance Attribute Details

#current_level_xpObject

Returns the value of attribute current_level_xp.



4
5
6
# File 'lib/starcraft2/profile/swarm_race.rb', line 4

def current_level_xp
  @current_level_xp
end

#levelObject

Returns the value of attribute level.



4
5
6
# File 'lib/starcraft2/profile/swarm_race.rb', line 4

def level
  @level
end

#total_level_xpObject

Returns the value of attribute total_level_xp.



4
5
6
# File 'lib/starcraft2/profile/swarm_race.rb', line 4

def total_level_xp
  @total_level_xp
end