From 8d83fcef94ce1558a2c0e29e8be6c966c7e10a5b Mon Sep 17 00:00:00 2001 From: metamuffin Date: Tue, 13 Aug 2024 16:03:19 +0200 Subject: trying to reimplement customers --- server/bot/src/lib.rs | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'server/bot/src/lib.rs') diff --git a/server/bot/src/lib.rs b/server/bot/src/lib.rs index 543a1062..b2334333 100644 --- a/server/bot/src/lib.rs +++ b/server/bot/src/lib.rs @@ -22,15 +22,16 @@ pub mod pathfinding; use hurrycurry_client_lib::Game; use hurrycurry_protocol::{ glam::{IVec2, Vec2}, - PlayerID, + PacketS, PlayerID, }; -#[derive(Default, Clone, Copy)] +#[derive(Default, Clone)] pub struct BotInput { pub direction: Vec2, pub boost: bool, pub interact: Option, pub leave: bool, + pub extra: Vec, } pub type DynBotAlgo = Box; -- cgit v1.2.3-70-g09d2