Package org.baseagent.grid
Class GridPosition
java.lang.Object
org.baseagent.grid.GridPosition
- All Implemented Interfaces:
HasGridPosition
- Direct Known Subclasses:
EmbodiedBehavior
,EmbodiedEffector
,EmbodiedSensor
-
Constructor Summary
-
Method Summary
-
Constructor Details
-
GridPosition
public GridPosition() -
GridPosition
public GridPosition(int cellX, int cellY)
-
-
Method Details
-
setCellX
public void setCellX(int cellX) - Specified by:
setCellX
in interfaceHasGridPosition
-
getCellX
public int getCellX()- Specified by:
getCellX
in interfaceHasGridPosition
-
setCellY
public void setCellY(int cellY) - Specified by:
setCellY
in interfaceHasGridPosition
-
getCellY
public int getCellY()- Specified by:
getCellY
in interfaceHasGridPosition
-
getHeading
public double getHeading()- Specified by:
getHeading
in interfaceHasGridPosition
-
getGridLayer
- Specified by:
getGridLayer
in interfaceHasGridPosition
-
toString
-
equals
-
hashCode
public int hashCode()
-