diff options
Diffstat (limited to 'src/protocol.rs')
-rw-r--r-- | src/protocol.rs | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/protocol.rs b/src/protocol.rs index a9e2086..86d1fa0 100644 --- a/src/protocol.rs +++ b/src/protocol.rs @@ -1,3 +1,4 @@ +use crate::shared::imperative::*; use crate::shared::*; use bevy::prelude::*; use lightyear::prelude::*; @@ -6,7 +7,7 @@ use serde::Serialize; #[derive(Serialize, Deserialize, Debug, PartialEq, Clone)] pub enum Inputs { - Teleport(Vec2), + Imperative(Imperative), None, } impl UserAction for Inputs {} |