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