Example #1
0
 public override void Enter()
 {
     // call the ability's start method
     abilityComponent.ActivateWithCallback((cooldownDuration) => this.UpdateState(cooldownDuration));
     if (Owner is Hero)
     {
         EventQueue.AddEvent(new AreaStateChangeEventArgs(Owner, null, AreaStateTypes.Active));
     }
 }
Example #2
0
 public override void Enter()
 {
     // call the ability's start method
     abilityComponent.ActivateWithCallback((cooldownDuration) => this.UpdateState(cooldownDuration));
 }