| using UnityEngine; | 
| using System.Collections.Generic; | 
|   | 
| public class DodgeFinishAction : RecordAction | 
| { | 
|     private bool isRun = false; | 
|   | 
|     public DodgeFinishAction(BattleField _battleField, BattleObject _dodgeObj) | 
|         : base(RecordActionType.DodgeFinish, _battleField, _dodgeObj) | 
|     { | 
|   | 
|     } | 
|   | 
|     public override bool IsFinished() | 
|     { | 
|         return isFinish; | 
|     } | 
|   | 
|   | 
|     public override void Run() | 
|     { | 
|         base.Run(); | 
|   | 
|         if (isRun) | 
|             return; | 
|   | 
|         battleObject.OnDodgeEnd(); | 
|         isFinish = true; | 
|         isRun = true; | 
|     } | 
|   | 
|     public override void ForceFinish() | 
|     { | 
|         //正常开始之后到界面出现之前都点不了 所以这边不用强制完成 接口留着 | 
|   | 
|         base.ForceFinish(); | 
|         // 完成就开始显示UI | 
|   | 
|     } | 
| } |