All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.fathzer.jchess.uci.BestMoveReply Maven / Gradle / Ivy

There is a newer version: 2.0.0
Show newest version
package com.fathzer.jchess.uci;

import java.util.Optional;

public class BestMoveReply {
	private final UCIMove move;
	private final UCIMove ponderMove;
	
	public BestMoveReply(UCIMove move) {
		this(move, null);
	}
	public BestMoveReply(UCIMove move, UCIMove ponderMove) {
		this.move = move;
		this.ponderMove = ponderMove;
	}
	public UCIMove getMove() {
		return move;
	}
	public Optional getPonderMove() {
		return Optional.ofNullable(ponderMove);
	}
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy