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


Method Index

 o addInfo(String)
add Information to move
 o getColor()
get color
 o getCoord(int)
get coordinates
 o getCoord(int, int, int)
get coordinates
 o getDead()
get dead_node
 o getX()
get X
 o getY()
get Y
 o isAlive(int)
is this stone alive at this node ?
 o isBlack()
is this node Black ?
 o isDead(int)
is this stone dead at this node
 o isDead(int, int)
is this stone dead at this node of this color
 o isPass()
is this is pass at this node ?
 o isStone(int)
is this a stone at this node ?
 o isStone(int, int)
is this a stone of that color at this node ?
 o isWhite()
is this node White ?
 o kill(int)
kill stone
 o resetDead(int)
reset dead

Methods

 o resetDead
public void resetDead(int node)
reset dead

 o getColor
public int getColor()
get color

 o getX
public int getX()
get X

 o getY
public int getY()
get Y

 o getCoord
public String getCoord(int size)
get coordinates

 o getCoord
public static String getCoord(int pos_x,
                              int pos_y,
                              int size)
get coordinates

 o getDead
public int getDead()
get dead_node

 o kill
public void kill(int node)
kill stone

 o isDead
public boolean isDead(int node)
is this stone dead at this node

 o isDead
public boolean isDead(int node,
                      int col)
is this stone dead at this node of this color

 o isAlive
public boolean isAlive(int node)
is this stone alive at this node ?

 o isStone
public boolean isStone(int node)
is this a stone at this node ?

 o isStone
public boolean isStone(int node,
                       int c)
is this a stone of that color at this node ?

 o isPass
public boolean isPass()
is this is pass at this node ?

 o isBlack
public boolean isBlack()
is this node Black ?

 o isWhite
public boolean isWhite()
is this node White ?

 o addInfo
public void addInfo(String param_info)
add Information to move


All Packages  Class Hierarchy  This Package  Previous  Next  Index