All Packages Class Hierarchy This Package Previous Next Index
Class JavaGO.Move
java.lang.Object
|
+----JavaGO.Move
- public class Move
- extends Object
- implements Constants
Move class : 2 colors possible, for each pass or dead possible
-
addInfo(String)
- add Information to move
-
getColor()
- get color
-
getCoord(int)
- get coordinates
-
getCoord(int, int, int)
- get coordinates
-
getDead()
- get dead_node
-
getX()
- get X
-
getY()
- get Y
-
isAlive(int)
- is this stone alive at this node ?
-
isBlack()
- is this node Black ?
-
isDead(int)
- is this stone dead at this node
-
isDead(int, int)
- is this stone dead at this node of this color
-
isPass()
- is this is pass at this node ?
-
isStone(int)
- is this a stone at this node ?
-
isStone(int, int)
- is this a stone of that color at this node ?
-
isWhite()
- is this node White ?
-
kill(int)
- kill stone
-
resetDead(int)
- reset dead
resetDead
public void resetDead(int node)
- reset dead
getColor
public int getColor()
- get color
getX
public int getX()
- get X
getY
public int getY()
- get Y
getCoord
public String getCoord(int size)
- get coordinates
getCoord
public static String getCoord(int pos_x,
int pos_y,
int size)
- get coordinates
getDead
public int getDead()
- get dead_node
kill
public void kill(int node)
- kill stone
isDead
public boolean isDead(int node)
- is this stone dead at this node
isDead
public boolean isDead(int node,
int col)
- is this stone dead at this node of this color
isAlive
public boolean isAlive(int node)
- is this stone alive at this node ?
isStone
public boolean isStone(int node)
- is this a stone at this node ?
isStone
public boolean isStone(int node,
int c)
- is this a stone of that color at this node ?
isPass
public boolean isPass()
- is this is pass at this node ?
isBlack
public boolean isBlack()
- is this node Black ?
isWhite
public boolean isWhite()
- is this node White ?
addInfo
public void addInfo(String param_info)
- add Information to move
All Packages Class Hierarchy This Package Previous Next Index