Esempio n. 1
0
 public virtual void Update(StatisticalData newData, StatisticalData olData)
 {
     BattleAvgXp = newData.BattleAvgXp - olData.BattleAvgXp;
     Battles = newData.Battles - olData.Battles;
     DamageDealt = newData.DamageDealt - olData.DamageDealt;
     Frags = newData.Frags - olData.Frags;
     HitsPercents = newData.HitsPercents - olData.HitsPercents;
     WinsPercents = newData.WinsPercents - olData.WinsPercents;
     MaxXp = newData.MaxXp - olData.MaxXp;
 }
Esempio n. 2
0
 public StatisticsViewModel(StatisticalData lastStatistic, IEnumerable<DynamicData> dynamicData)
 {
     LastStatistic = lastStatistic;
     Dynamic = dynamicData;
 }