diff options
author | chai <chaifix@163.com> | 2020-10-17 10:12:31 +0800 |
---|---|---|
committer | chai <chaifix@163.com> | 2020-10-17 10:12:31 +0800 |
commit | f99c4d56cf95c563e95d3965ffd6d8ba33b660ee (patch) | |
tree | cbec1f362d5eb0fd2ee67885cae17a527796f41c /Assets/Scripts/Input/Command.cs | |
parent | ecb0cbe03d3eef32fdb7b43fa3c60f0f241b0129 (diff) |
*ability system
Diffstat (limited to 'Assets/Scripts/Input/Command.cs')
-rw-r--r-- | Assets/Scripts/Input/Command.cs | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/Assets/Scripts/Input/Command.cs b/Assets/Scripts/Input/Command.cs index 7649af58..fae88684 100644 --- a/Assets/Scripts/Input/Command.cs +++ b/Assets/Scripts/Input/Command.cs @@ -24,7 +24,9 @@ public struct Command { public CommandCode code; // 指令码 public float time; // 触发时间 - public int id; + public int id; + + public static Command Blank = new Command(CommandCode.Blank, 0); public Command(CommandCode code, float time) { |