Package com.barrybecker4.ca.dj.jigo.sgf
Class Point
- java.lang.Object
-
- com.barrybecker4.ca.dj.jigo.sgf.Point
-
public final class Point extends java.lang.ObjectRepresents a point on a Goban. The x and y values are directly accessible due to their common, and frequent use.
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static voidmain(java.lang.String[] args)java.lang.StringtoString()
-
-
-
Constructor Detail
-
Point
public Point()
Constructs a new point at (0, 0).
-
Point
public Point(int newX, int newY)Constructs a new point at the given coordinates.- Parameters:
newX- - The x portion of this point's coordinate.newY- - The y portion of this point's coordinate.
-
Point
public Point(Point pt)
Copy constructor
-
-