diff options
Diffstat (limited to 'src/shared')
-rw-r--r-- | src/shared/imperative.rs | 9 |
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), +} |