Ejemplo n.º 1
0
        public SingleStat Clone()
        {
            var clone = new SingleStat();

            _statTypes.CopyTo(clone._statTypes, 0);
            return(clone);
        }
Ejemplo n.º 2
0
 public Stats(int attackStatAmount, int defenceStatAmount, int speedStatAmount, int manaStatAmount, int healthStatAmount)
 {
     attackStat  = new SingleStat(attackStatAmount);
     defenceStat = new SingleStat(defenceStatAmount);
     speedStat   = new SingleStat(speedStatAmount);
     manaStat    = new SingleStat(manaStatAmount);
     healthStat  = new SingleStat(healthStatAmount);
 }
Ejemplo n.º 3
0
 public Stats(int Head_ValueAmount, int RH_ValueAmount, int RF_ValueAmount, int LF_ValueAmount, int LH_ValueAmount)
 {
     Head_Value = new SingleStat(Head_ValueAmount);
     RH_Value   = new SingleStat(RH_ValueAmount);
     RF_Value   = new SingleStat(RF_ValueAmount);
     LF_Value   = new SingleStat(LF_ValueAmount);
     LH_Value   = new SingleStat(LH_ValueAmount);
 }
Ejemplo n.º 4
0
 public Stats(int flexibility, int language, int memory, int problemSolving, int speed)
 {
     this.flexibility    = new SingleStat(flexibility);
     this.language       = new SingleStat(language);
     this.memory         = new SingleStat(memory);
     this.problemSolving = new SingleStat(problemSolving);
     this.speed          = new SingleStat(speed);
 }
Ejemplo n.º 5
0
 public Stat(int wealthStatAmount, int careerStatAmount, int healthStatAmount, int marriageStatAmount, int relationStatAmount)
 {
     _wealthStat   = new SingleStat(wealthStatAmount);
     _careerStat   = new SingleStat(careerStatAmount);
     _healthStat   = new SingleStat(healthStatAmount);
     _marriageStat = new SingleStat(marriageStatAmount);
     _relationStat = new SingleStat(relationStatAmount);
 }
Ejemplo n.º 6
0
 public Stats()
 {
     XPMultiplier  = 1d;
     _currentLevel = 1;
     for (var i = Stat.HP; i <= Stat.SIL; ++i)
     {
         this[i] = new SingleStat();
     }
 }