/// <summary> /// 处理指令牌的释放 /// </summary> /// <param name="ability"></param> public void OnCastCard(Ability.Ability ability) { this.ability = ability; this.PushState(new InputFSMCastState(this)); this.TargetList.Clear(); }
public void Initialize(Ability.Ability ability) { _ability = ability; }
public void Initialize(AbilitySettings ability) { _ability = ability.CreateAbility(this); }
/// <summary> /// 设置要使用的效果牌 /// </summary> /// <param name="ability"></param> public void OnUseOrderCard(Ability.Ability ability) { InputFSM.OnCastCard(ability); }