Package repast.simphony.space
Interface Direction
public interface Direction
Direction type constants.
- Version:
- $Revision$ $Date$
- Author:
- Nick Collier
-
Field Summary
Modifier and TypeFieldDescriptionstatic final double
Directional constant for vector movement.static final double
Directional constant for vector movement.static final double
Directional constant for vector movement.static final double
Directional constant for vector movement.
-
Field Details
-
NORTH
static final double NORTHDirectional constant for vector movement. On a 2D grid, this will move in a postive direction directly along the y-axis. -
SOUTH
static final double SOUTHDirectional constant for vector movement. On a 2D grid, this will move in a negative direction directly along the y-axis. -
EAST
static final double EASTDirectional constant for vector movement. On a 2D grid, this will move in a postive direction directly along the x-axis. -
WEST
static final double WESTDirectional constant for vector movement. On a 2D grid, this will move in a negative direction directly along the x-axis.
-