private static void Redo(ChessItem chess) { chess.Restore(mgr.GetMemento(++index)); chess.Display(); }
private static void Undo(ChessItem chess) { chess.Restore(mgr.GetMemento(index--)); chess.Display(); }