enum

Direction

Inherits Enum < Comparable < Value < Object

Constants

Up = 0
Down = 1
Left = 2
Right = 3

Instance methods

down?

Returns true if this enum value equals Down

left?

Returns true if this enum value equals Left

right?

Returns true if this enum value equals Right

up?

Returns true if this enum value equals Up