diff options
Diffstat (limited to 'src/shared/imperative.rs')
-rw-r--r-- | src/shared/imperative.rs | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/shared/imperative.rs b/src/shared/imperative.rs index bd604f8..afdf244 100644 --- a/src/shared/imperative.rs +++ b/src/shared/imperative.rs @@ -1,9 +1,10 @@ use crate::shared::ability::*; +use crate::shared::player::*; use crate::shared::*; use serde::Deserialize; use serde::Serialize; -#[derive(Component, Copy, Clone, PartialEq, Debug, Deserialize, Serialize)] +#[derive(Component, Message, Copy, Clone, PartialEq, Debug, Deserialize, Serialize)] pub enum Imperative { Idle, WalkTo(Vec2), |