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