Beispiel #1
0
 /// <summary>
 /// Activates ready debuffs, making them activate their effect.
 /// </summary>
 /// <param name="entity">Entity that will be affected by the debuffs.</param>
 private void Payload(IDebuffableEntity entity)
 {
     foreach (var debuff in activeDebuffs.Values)
     {
         if (debuff.IsReadyForPayload)
         {
             debuff.Payload(entity);
         }
     }
 }
Beispiel #2
0
 public void Update(float lastFrameTime, IDebuffableEntity entity)
 {
     ChkActiveDebuffs(lastFrameTime);
     Payload(entity);
 }
Beispiel #3
0
 public void Payload(IDebuffableEntity entity)
 {
     throw new NotImplementedException();
 }