Exemplo n.º 1
0
 public static MaxxedStat operator -(MaxxedStat argLHS, float argRHS)
 {
     MaxxedStat myStat = new MaxxedStat(argLHS);
     myStat.Current -= argRHS;
     return myStat;
 }
Exemplo n.º 2
0
 public MaxxedStat(MaxxedStat argMaxxedStat)
     : base(argMaxxedStat)
 {
     max = argMaxxedStat.Max;
     min = argMaxxedStat.Min;
     MaxStatChange = argMaxxedStat.MaxStatChange;
     StatEmpty = argMaxxedStat.StatEmpty;
     StatFull = argMaxxedStat.StatFull;
 }