- Direct Known Subclasses:
HexLocation
public class GridLocation
extends Object
GridLocation class - helper class to store coordinates more easily
-
Constructor Summary
Constructors
-
Method Summary
-
Constructor Details
-
GridLocation
public GridLocation(int row,
int col)
-
Method Details
-
getRow
public int getRow()
-
getCol
public int getCol()
-
-
getYCoord
public int getYCoord()
-
getXCoord
public int getXCoord()
-