Example #1
0
 private void DealWithDamageOverTime(StatusManager hitUnit, bool addToList)
 {
     if (_damageOverTime != null)
     {
         if (addToList)
         {
             _damageOverTime.AddToList(hitUnit);
         }
         else
         {
             _damageOverTime.RemoveFromList(hitUnit);
         }
     }
 }