suppressed warnings

This commit is contained in:
JOLIMAITRE Matthieu 2022-04-04 20:37:20 +03:00
parent 69dcdef9ca
commit d977aa1fc2

View file

@ -8,27 +8,27 @@ pub enum Objective {
} }
pub struct SimulatedController { pub struct SimulatedController {
simulations_per_move: usize, _simulations_per_move: usize,
length_of_simulation: usize, _length_of_simulation: usize,
objective: Objective, _objective: Objective,
} }
impl SimulatedController { impl SimulatedController {
pub fn new( pub fn new(
simulations_per_move: usize, _simulations_per_move: usize,
length_of_simulation: usize, _length_of_simulation: usize,
objective: Objective, _objective: Objective,
) -> Self { ) -> Self {
Self { Self {
simulations_per_move, _simulations_per_move,
length_of_simulation, _length_of_simulation,
objective, _objective,
} }
} }
} }
impl Controller for SimulatedController { impl Controller for SimulatedController {
fn next_move(&mut self, grid: &Grid) -> Result<Move, ControllerError> { fn next_move(&mut self, _grid: &Grid) -> Result<Move, ControllerError> {
todo!() todo!()
} }
} }