enum

Rosegold::MovementKeys::Key

Inherits Enum / Comparable / Value / Object

Constants

Forward = 1
Backward = 2
Left = 4
Right = 8
None = 0
All = 15

Instance methods

backward?

Returns true if this enum value contains Backward

Source
forward?

Returns true if this enum value contains Forward

Source
left?

Returns true if this enum value contains Left

Source
none?
Source
right?

Returns true if this enum value contains Right

Source