summaryrefslogtreecommitdiff
path: root/server/src/entity/bot.rs
blob: 06477e8aedb52e890813928f2191253a68caa779 (plain)
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(())
    }
}