public Analyzer() { m_tree = new AnalysisTree(this); CurrentGame = new Game(); }
public void SetCurrentPosition(Position.Position p) { // TODO - stop ongoing analysis somehow m_tree.SetRoot(p, Move.NULL_MOVE); CurrentGame = new Game(); CurrentGame.m_initial_position = p == null ? Fen.InitialPosition : Fen.Encode(p); }