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