public void Copy(DaggerfallStats other)
 {
     this.Strength = other.Strength;
     this.Intelligence = other.Intelligence;
     this.Willpower = other.Willpower;
     this.Agility = other.Agility;
     this.Endurance = other.Endurance;
     this.Personality = other.Personality;
     this.Speed = other.Speed;
     this.Luck = other.Luck;
 }
        public static DaggerfallStats GetClassBaseStats(DFCareer dfClass)
        {
            DaggerfallStats stats = new DaggerfallStats();

            stats.Strength = dfClass.Strength;
            stats.Intelligence = dfClass.Intelligence;
            stats.Willpower = dfClass.Willpower;
            stats.Agility = dfClass.Agility;
            stats.Endurance = dfClass.Endurance;
            stats.Personality = dfClass.Personality;
            stats.Speed = dfClass.Speed;
            stats.Luck = dfClass.Luck;

            return stats;
        }
 public StatsMacroDataSource(DaggerfallStats parent)
 {
     this.parent = parent;
 }
 public void SetStats(DaggerfallStats startingStats, DaggerfallStats workingStats, int bonusPool)
 {
     this.startingStats.Copy(startingStats);
     this.workingStats.Copy(workingStats);
     this.bonusPool = bonusPool;
     spinner.Value = bonusPool;
     UpdateStatLabels();
 }
        DaggerfallStats ReadStats(BinaryReader reader)
        {
            DaggerfallStats result = new DaggerfallStats();
            for (int i = 0; i < 8; i++)
            {
                result.SetStatValue(i, reader.ReadInt16());
            }

            return result;
        }