CardinalDirection

enum CardinalDirection : UInt

Direction of movement in terms of cardinal directions.

  • Declaration

    Swift

    case unknown = 0
  • Declaration

    Swift

    case north = 1
  • Declaration

    Swift

    case northEast = 2
  • Declaration

    Swift

    case east = 3
  • Declaration

    Swift

    case southEast = 4
  • Declaration

    Swift

    case south = 5
  • Declaration

    Swift

    case southWest = 6
  • Declaration

    Swift

    case west = 7
  • Declaration

    Swift

    case northWest = 8