public static void ResetHistory(UvsChess.Framework.ChessState newState) { lock (_updateGuiDataLockObject) { _guiEvents.Add(new GuiEvent(Actually_ResetHistory, newState.Clone())); } }
public static void AddToHistory(UvsChess.Framework.ChessState state) { lock (_updateGuiDataLockObject) { _guiEvents.Add(new GuiEvent(Actually_AddToHistory, state.Clone())); _wasHistoryUpdated = true; } }