summaryrefslogtreecommitdiff
path: root/server/src/customer/mod.rs
diff options
context:
space:
mode:
authormetamuffin <metamuffin@disroot.org>2024-07-16 16:21:37 +0200
committermetamuffin <metamuffin@disroot.org>2024-07-16 16:21:37 +0200
commit7c83fe7eeaac3736d5a59b270bbbbde59780e536 (patch)
tree65c59e07f7c72305690312b2d057a9b0d494a847 /server/src/customer/mod.rs
parent5cad8fad7c8e8b4358c9b0290c228ac9fac164f5 (diff)
downloadhurrycurry-7c83fe7eeaac3736d5a59b270bbbbde59780e536.tar
hurrycurry-7c83fe7eeaac3736d5a59b270bbbbde59780e536.tar.bz2
hurrycurry-7c83fe7eeaac3736d5a59b270bbbbde59780e536.tar.zst
item rendering and movement
Diffstat (limited to 'server/src/customer/mod.rs')
-rw-r--r--server/src/customer/mod.rs6
1 files changed, 3 insertions, 3 deletions
diff --git a/server/src/customer/mod.rs b/server/src/customer/mod.rs
index aeaa7ae1..bf385927 100644
--- a/server/src/customer/mod.rs
+++ b/server/src/customer/mod.rs
@@ -15,15 +15,15 @@
along with this program. If not, see <https://www.gnu.org/licenses/>.
*/
-pub mod movement;
mod pathfinding;
use crate::{data::Gamedata, game::Tile};
use anyhow::{anyhow, Result};
use fake::{faker, Fake};
-use hurrycurry_protocol::{glam::IVec2, DemandIndex, Message, PacketS, PlayerID};
+use hurrycurry_protocol::{
+ glam::IVec2, movement::MovementBase, DemandIndex, Message, PacketS, PlayerID,
+};
use log::info;
-use movement::MovementBase;
use pathfinding::{find_path, Path};
use rand::{random, thread_rng};
use std::{