public void UpgradeStat(IStat upgradeStat) { IStat stat = GetStat(upgradeStat.Type); stat.UpgradeStat(upgradeStat.Value); }