public class IgoBoard extends Board implements java.lang.Cloneable
修飾子とタイプ | フィールドと説明 |
---|---|
static int |
BLACK
黒石の値
|
static int |
RESIGN
投了の(位置としての)値
|
static int |
WHITE
白石の値
|
コンストラクタと説明 |
---|
IgoBoard(int iRo)
碁盤を作成します。
|
修飾子とタイプ | メソッドと説明 |
---|---|
java.lang.Object |
clone()
インスタンスのコピーを作成します。
|
int |
getValuePass()
Player.getNextMoveでパスのときに返す(位置の)値を返します。
|
void |
remove(Pos pos)
指定した位置の石を取り除きます。
|
void |
remove(Stones stn)
指定した石の集合を取り除きます。
|
java.lang.String |
toString() |
clearWinLines, getGameRecord, getLastTurn, getNumCols, getNumRows, getNumWinLines, getPiece, getWinLine, isInBoard, move, newGame, setWinLine, unmove
public static final int BLACK
public static final int WHITE
public static final int RESIGN
public java.lang.Object clone()
public void remove(Pos pos)
pos
- public void remove(Stones stn)
stn
- public int getValuePass()