public void Handle(FinishAttackEvent message)
 {
     if (this.ActionGroup.Type == CharacterActionType.Ability)
     {
         var active = this.CharacterActionList.Active as AnimatedAbility.AnimatedAbility;
         if (active != null && active.Name == message.FinishedAttack.Name)
         {
             this.CharacterActionList.Active = default(T);
         }
     }
 }
Exemple #2
0
 public void FinishAttack()
 {
     FinishAttackEvent?.Invoke();
 }