📄 bestmove.java
字号:
/***
* Hex-7
* Version 2.0
* www.mazeworks.com
*
* Copyright (c) 2002 David Herzog
* All Rights Reserved.
*/
package com.bdaum.Hex.game;
import org.eclipse.swt.graphics.Point;
/******** BEST MOVE ********
temporary storage of candidate moves
*/
public final class BestMove {
private Point move ;
private int value ;
// constructors
public BestMove() { }
public BestMove(int v) { this(v, null) ; }
public BestMove(int v, Point p) {
value = v ;
move = p ;
}
public Point getMove() { return move ; }
public int getValue() { return value ; }
}
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -