diff options
Diffstat (limited to 'server/src/customer')
-rw-r--r-- | server/src/customer/mod.rs | 7 | ||||
-rw-r--r-- | server/src/customer/movement.rs | 2 | ||||
-rw-r--r-- | server/src/customer/pathfinding.rs | 2 |
3 files changed, 4 insertions, 7 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}; diff --git a/server/src/customer/movement.rs b/server/src/customer/movement.rs index ca7afdbe..4da76de7 100644 --- a/server/src/customer/movement.rs +++ b/server/src/customer/movement.rs @@ -16,8 +16,8 @@ along with this program. If not, see <https://www.gnu.org/licenses/>. */ -use crate::protocol::PacketS; use glam::{IVec2, Vec2}; +use hurrycurry_protocol::PacketS; use std::collections::HashSet; const PLAYER_SIZE: f32 = 0.4; diff --git a/server/src/customer/pathfinding.rs b/server/src/customer/pathfinding.rs index 743515b9..a2623e5c 100644 --- a/server/src/customer/pathfinding.rs +++ b/server/src/customer/pathfinding.rs @@ -16,8 +16,8 @@ */ use super::movement::MovementBase; -use crate::protocol::PacketS; use glam::{IVec2, Vec2}; +use hurrycurry_protocol::PacketS; use log::debug; use std::{ cmp::Ordering, |