forward method
Goes one step forth through the history and returns the next move.
Implementation
PlayedMove forward() {
final PlayedMove move = futureMoves.removeLast();
moves.add(move);
return move;
}
Goes one step forth through the history and returns the next move.
PlayedMove forward() {
final PlayedMove move = futureMoves.removeLast();
moves.add(move);
return move;
}