Class: HoN::HeroStats

Inherits:
Stats
  • Object
show all
Defined in:
lib/hon/hero.rb

Instance Method Summary collapse

Methods inherited from Stats

#[]

Constructor Details

#initialize(nickname) ⇒ HeroStats

Returns a new instance of HeroStats.



6
7
8
9
10
11
# File 'lib/hon/hero.rb', line 6

def initialize nickname
  @nickname   = nickname
  @statistics = Hash.new

  retrieve_statistics
end