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