diff options
| author | chai <chaifix@163.com> | 2020-10-29 19:39:42 +0800 |
|---|---|---|
| committer | chai <chaifix@163.com> | 2020-10-29 19:39:42 +0800 |
| commit | bdf47cf0fd36a5c858575a805cca70ab623868eb (patch) | |
| tree | c93691007f656380decbcb93690292e273d4e217 /Assets/Scripts/Avatar/Conditions/ConditionJumpDone.cs | |
| parent | 61fbc2cdd8368505c3c8ce893af020463cc2a669 (diff) | |
*misc
Diffstat (limited to 'Assets/Scripts/Avatar/Conditions/ConditionJumpDone.cs')
| -rw-r--r-- | Assets/Scripts/Avatar/Conditions/ConditionJumpDone.cs | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/Assets/Scripts/Avatar/Conditions/ConditionJumpDone.cs b/Assets/Scripts/Avatar/Conditions/ConditionJumpDone.cs new file mode 100644 index 00000000..8d900348 --- /dev/null +++ b/Assets/Scripts/Avatar/Conditions/ConditionJumpDone.cs @@ -0,0 +1,18 @@ +using System.Collections;
+using System.Collections.Generic;
+using UnityEngine;
+
+public class ConditionJumpDone : ConditionBase
+{
+ JumpAbility m_Jump;
+
+ public ConditionJumpDone(JumpAbility jump)
+ {
+ m_Jump = jump;
+ }
+
+ public override bool Evaluate()
+ {
+ return m_Jump.IsJumpDone();
+ }
+}
|
