Class HexLocation
java.lang.Object
GridLocation
HexLocation
HexLocation Class
HexLocations use x & y coordinate instead of row & column designations
-
Constructor Summary
Constructors -
Method Summary
Methods inherited from class GridLocation
equals, getCol, getRow
-
Constructor Details
-
HexLocation
public HexLocation(int x, int y)
-
-
Method Details
-
getYCoord
public int getYCoord()- Overrides:
getYCoord
in classGridLocation
-
getXCoord
public int getXCoord()- Overrides:
getXCoord
in classGridLocation
-
equals
-
toString
- Overrides:
toString
in classGridLocation
-