aboutsummaryrefslogtreecommitdiffstats
path: root/src/shared/imperative.rs
diff options
context:
space:
mode:
Diffstat (limited to 'src/shared/imperative.rs')
-rw-r--r--src/shared/imperative.rs9
1 files changed, 9 insertions, 0 deletions
diff --git a/src/shared/imperative.rs b/src/shared/imperative.rs
new file mode 100644
index 0000000..1370ddb
--- /dev/null
+++ b/src/shared/imperative.rs
@@ -0,0 +1,9 @@
+use bevy::prelude::*;
+use serde::Deserialize;
+use serde::Serialize;
+
+#[derive(Component, Copy, Clone, PartialEq, Debug, Deserialize, Serialize)]
+pub enum Imperative {
+ Idle,
+ WalkTo(Vec2),
+}