Add TODOs

This commit is contained in:
Pierre HUBERT 2022-09-15 20:14:57 +02:00
parent a6040fe89c
commit 13c03a8df0
2 changed files with 6 additions and 2 deletions

View File

@ -4,6 +4,9 @@ use crate::consts::*;
#[derive(serde::Serialize, serde::Deserialize, Debug, Copy, Clone, Eq, PartialEq)] #[derive(serde::Serialize, serde::Deserialize, Debug, Copy, Clone, Eq, PartialEq)]
pub enum BotType { pub enum BotType {
Random, Random,
// TODO : LinearShooting
// TODO : GridBot
// TODO : SmartBot
} }
#[derive(serde::Serialize)] #[derive(serde::Serialize)]

View File

@ -24,7 +24,8 @@ pub enum StartMode {
Bot(GameRules), Bot(GameRules),
#[default] #[default]
AgainstHuman, RandomHuman,
//TODO : create invite
} }
#[derive(serde::Deserialize, serde::Serialize, Debug)] #[derive(serde::Deserialize, serde::Serialize, Debug)]
@ -150,7 +151,7 @@ impl Actor for HumanPlayerWS {
game.do_send(AddPlayer(player)); game.do_send(AddPlayer(player));
} }
StartMode::AgainstHuman => { StartMode::RandomHuman => {
unimplemented!(); unimplemented!();
} }
} }