aboutsummaryrefslogtreecommitdiff
path: root/src/player.rs
diff options
context:
space:
mode:
Diffstat (limited to 'src/player.rs')
-rw-r--r--src/player.rs3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/player.rs b/src/player.rs
index 15f4a86..0257024 100644
--- a/src/player.rs
+++ b/src/player.rs
@@ -1,8 +1,7 @@
-use std::time::Duration;
use crate::{board::Board, moves::Move};
pub trait Player {
/// Analyze a position on a given board, giving
/// the score for the side to move and Principal Variation.
- fn analyze(&mut self, board: Board, duration: Duration) -> (f32, Vec<Move>);
+ fn analyze(&mut self, board: Board) -> (f32, Vec<Move>);
}