summaryrefslogtreecommitdiff
path: root/server/bot/src/lib.rs
diff options
context:
space:
mode:
Diffstat (limited to 'server/bot/src/lib.rs')
-rw-r--r--server/bot/src/lib.rs5
1 files changed, 3 insertions, 2 deletions
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<IVec2>,
pub leave: bool,
+ pub extra: Vec<PacketS>,
}
pub type DynBotAlgo = Box<dyn BotAlgo + Send + Sync + 'static>;