⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 bestmove.java

📁 Eclipse高级编程3源码(书本源码)
💻 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 + -