aboutsummaryrefslogtreecommitdiff
path: root/server/bot/src/algos/mod.rs
diff options
context:
space:
mode:
authormetamuffin <metamuffin@disroot.org>2024-09-29 17:37:30 +0200
committermetamuffin <metamuffin@disroot.org>2024-09-29 17:37:30 +0200
commit76712852d30df670741c836a8e705e7482a8a2ac (patch)
tree98edf9cf3c86228e14969e1d9621c1d22b896589 /server/bot/src/algos/mod.rs
parent824771fd53fc9cff2388d6f3baae3380debad81f (diff)
parent81aa0b5fff9d6d77ccc23129c23e8c50818c3188 (diff)
downloadhurrycurry-76712852d30df670741c836a8e705e7482a8a2ac.tar
hurrycurry-76712852d30df670741c836a8e705e7482a8a2ac.tar.bz2
hurrycurry-76712852d30df670741c836a8e705e7482a8a2ac.tar.zst
Merge branch 'dishwasher-bot'
Diffstat (limited to 'server/bot/src/algos/mod.rs')
-rw-r--r--server/bot/src/algos/mod.rs3
1 files changed, 3 insertions, 0 deletions
diff --git a/server/bot/src/algos/mod.rs b/server/bot/src/algos/mod.rs
index dea31406..0b8e4339 100644
--- a/server/bot/src/algos/mod.rs
+++ b/server/bot/src/algos/mod.rs
@@ -20,18 +20,21 @@ mod frank;
mod simple;
mod test;
mod waiter;
+mod dishwasher;
pub use customer::Customer;
pub use frank::Frank;
pub use simple::Simple;
pub use test::Test;
pub use waiter::Waiter;
+pub use dishwasher::DishWasher;
#[allow(clippy::type_complexity)]
pub const ALGO_CONSTRUCTORS: &[(&str, fn() -> crate::DynBotAlgo)] = &[
("test", || Box::new(Test::default())),
("simple", || Box::new(Simple::default())),
("waiter", || Box::new(Waiter::default())),
+ ("dishwasher", || Box::new(DishWasher::default())),
("customer", || Box::new(Customer::default())),
("frank", || Box::new(Frank::default())),
];