Beispiel #1
0
        //Lê Thanh Tâm
        //Hàm redo
        public void RedoFunction()
        {
            if (hst.Count == 1)
            {
                return;
            }
            if (pivot == hst.Count - 1)
            {
                return;
            }
            int temp = ++turn;

            pivot++;
            BuildChessBoardFromString(hst[pivot]);
            turn = temp;
            AbstractChessPiece.CheckCurrentGame();
        }