Direction

public enum Direction

A basic enumeration of the eight directions in which a primitive action can be taken. Directions are treated the same as screen coordinates: East is positive x, South is positive y.

Author:Tim

Enum Constants

EAST

public static final Direction EAST

NORTH

public static final Direction NORTH

NORTHEAST

public static final Direction NORTHEAST

NORTHWEST

public static final Direction NORTHWEST

SOUTH

public static final Direction SOUTH

SOUTHEAST

public static final Direction SOUTHEAST

SOUTHWEST

public static final Direction SOUTHWEST

WEST

public static final Direction WEST