Exemple #1
0
 /// <summary>
 /// Constructs combatant status event arguments from a given statistics.
 /// </summary>
 /// <param name="baseStatistic"></param>
 public CombatantStatusChangeEventArgs(BaseStatistic baseStatistic)
     : base()
 {
     BaseStatistic = baseStatistic;
 }
Exemple #2
0
 bool CallOnStatusChange(BaseStatistic baseStatistic)
 {
     if (OnStatusChange == null) return false; OnStatusChange(this, new CombatantStatusChangeEventArgs(baseStatistic)); return true;
 }