mindustry logic execution, map- and schematic- parsing and rendering
Diffstat (limited to 'src/data/command.rs')
| -rw-r--r-- | src/data/command.rs | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/src/data/command.rs b/src/data/command.rs new file mode 100644 index 0000000..66d9822 --- /dev/null +++ b/src/data/command.rs @@ -0,0 +1,9 @@ +use crate::content::numeric_enum; + +numeric_enum! +{ + pub enum UnitCommand for u8 | TryFromU8Error + { + Attack, Rally, Idle + } +} |