1 2 3 4 5 6 7 8 9 10 11 12 13
use super::{EntityContext, Entity}; use anyhow::Result; use hurrycurry_bot::BotAlgo; pub struct BotDriver { algo: Box<dyn BotAlgo>, } impl Entity for BotDriver { fn tick(&mut self, c: EntityContext<'_>) -> Result<()> { Ok(()) } }