forward method

PlayedMove forward()

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;
}