class Elvarg::Hiscores::Skill
Attributes
Public Class Methods
new(symbol, id = 0, rank = -1, level = 1, exp = 0)
click to toggle source
Creates a Hiscores
Skill
object
@see Stats::SKILLS @see Stats::Skill#initialize @param symbol [Symbol] the Symbol of the Skill
(required)
see Stats::SKILLS for complete list
@param id [Integer] the unique id of the Skill
(default) 0 @param rank [Integer] the Player's rank in this Skill
(default) -1 @param level [Integer] the Player's level in this Skill
(default) 1 @param exp [Integer] the Player's experience in this Skill
(default) 0
Calls superclass method
# File lib/hiscores/skill.rb, line 26 def initialize(symbol, id = 0, rank = -1, level = 1, exp = 0) super(symbol, id) @rank = rank @level = level @exp = exp end