summaryrefslogtreecommitdiff
path: root/server/src/customer/mod.rs
diff options
context:
space:
mode:
authormetamuffin <metamuffin@disroot.org>2024-07-08 17:16:06 +0200
committermetamuffin <metamuffin@disroot.org>2024-07-08 17:16:06 +0200
commit70bb8744cd742dc6c8a71ab174e4a1b058c7bec8 (patch)
tree78c5a190856f1c6281e8773a05408ede02a13947 /server/src/customer/mod.rs
parenta1921104e13c9cf39439ee424d54f7cece67fc5b (diff)
downloadhurrycurry-70bb8744cd742dc6c8a71ab174e4a1b058c7bec8.tar
hurrycurry-70bb8744cd742dc6c8a71ab174e4a1b058c7bec8.tar.bz2
hurrycurry-70bb8744cd742dc6c8a71ab174e4a1b058c7bec8.tar.zst
split off protocol into its own crate
Diffstat (limited to 'server/src/customer/mod.rs')
-rw-r--r--server/src/customer/mod.rs7
1 files changed, 2 insertions, 5 deletions
diff --git a/server/src/customer/mod.rs b/server/src/customer/mod.rs
index 191f9e3b..c11a1aec 100644
--- a/server/src/customer/mod.rs
+++ b/server/src/customer/mod.rs
@@ -18,14 +18,11 @@
pub mod movement;
mod pathfinding;
-use crate::{
- data::Gamedata,
- game::Tile,
- protocol::{DemandIndex, Message, PacketS, PlayerID},
-};
+use crate::{data::Gamedata, game::Tile};
use anyhow::{anyhow, Result};
use fake::{faker, Fake};
use glam::IVec2;
+use hurrycurry_protocol::{DemandIndex, Message, PacketS, PlayerID};
use log::debug;
use movement::MovementBase;
use pathfinding::{find_path, Path};