/// <summary> /// Called when black has performed a move. /// </summary> public void EndBlackTurn() { m_blackTimer.Stop(); m_undoHistory.Push(m_currentState); m_redoHistory.Clear(); }
/// <summary> /// Called when white has performed a move. /// </summary> public void EndWhiteTurn() { m_whiteTimer.Stop(); m_undoHistory.Push(m_currentState); m_redoHistory.Clear(); }