Add TODOs
This commit is contained in:
parent
a6040fe89c
commit
13c03a8df0
@ -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)]
|
||||||
|
@ -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!();
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user