public double GetPositionWeight(HM.Resources.PlayerSkillTypes skill) { double weight = 0; if (this.positionWeights.ContainsKey(skill)) { weight = this.positionWeights[skill]; } return(weight); }
public void SetPositionWeight(HM.Resources.PlayerSkillTypes skill, double weight) { this.positionWeights[skill] = weight; }