Основные методы
Основные методы
Основные методы
Основные методы
public void GetMoveWithComplexity(PlayerColor player, int complexity, Action <Pos, TimeSpan> getMoveWithComplexitySuccess) { if (_error) { return; } _actions.Enqueue(() => { var startTime = DateTime.Now; var pos = _bot.GetMoveWithComplexity(player, complexity); if (getMoveWithComplexitySuccess != null) { getMoveWithComplexitySuccess(pos, DateTime.Now - startTime); } }); ExecuteNext(); }