Location::Direction
Inherits Enum < Comparable < Value < Object
Constants
North = 0
East = 1
South = 2
West = 3
Class methods
left(direction : Direction)
opposite(direction : Direction)
right(direction : Direction)
Instance methods
east?
Returns true if this enum value equals East
north?
Returns true if this enum value equals North
south?
Returns true if this enum value equals South
west?
Returns true if this enum value equals West