Ejemplo n.º 1
0
 public Defend(Agent agent, int actionDuration, int cooldownDuration, OnAbilityComplete cooldown)
 {
     this.agent = agent;
     process    = new AbilityProcess(actionDuration, cooldownDuration, cooldown);
 }
Ejemplo n.º 2
0
 public AbilityProcess(int actionDuration, int cooldownDuration, OnAbilityComplete cooldown)
 {
     this.actionDuration   = actionDuration;
     this.cooldownDuration = cooldownDuration;
     this.cooldown         = cooldown;
 }