enum

Cryminal::Rotation

Inherits Enum < Comparable < Value < Object

Constants

North = 0
West = 1
South = 2
East = 3

Instance methods

east?

Returns true if this enum value equals East

Source
north?

Returns true if this enum value equals North

Source
south?

Returns true if this enum value equals South

Source
west?

Returns true if this enum value equals West

Source