Interface Direction


public interface Direction
Direction type constants.
Version:
$Revision$ $Date$
Author:
Nick Collier
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    static 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 NORTH
      Directional constant for vector movement. On a 2D grid, this will move in a postive direction directly along the y-axis.
    • SOUTH

      static final double SOUTH
      Directional constant for vector movement. On a 2D grid, this will move in a negative direction directly along the y-axis.
    • EAST

      static final double EAST
      Directional constant for vector movement. On a 2D grid, this will move in a postive direction directly along the x-axis.
    • WEST

      static final double WEST
      Directional constant for vector movement. On a 2D grid, this will move in a negative direction directly along the x-axis.