Package org.baseagent.util
Class CellPoint2D
java.lang.Object
org.baseagent.util.CellPoint2D
- All Implemented Interfaces:
HasGridPosition
-
Constructor Summary
-
Method Summary
-
Constructor Details
-
CellPoint2D
public CellPoint2D(int cellX, int cellY)
-
-
Method Details
-
setCellX
public void setCellX(int x) - Specified by:
setCellX
in interfaceHasGridPosition
-
getCellX
public int getCellX()- Specified by:
getCellX
in interfaceHasGridPosition
-
setCellY
public void setCellY(int y) - Specified by:
setCellY
in interfaceHasGridPosition
-
getCellY
public int getCellY()- Specified by:
getCellY
in interfaceHasGridPosition
-
add
-
equals
-
hashCode
public int hashCode() -
toString
-
getGridLayer
- Specified by:
getGridLayer
in interfaceHasGridPosition
-
getHeading
public double getHeading()- Specified by:
getHeading
in interfaceHasGridPosition
-