enum Buzzle::Direction

Defined in:

buzzle/direction.cr

Enum Members

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

Class Method Summary

Instance Method Summary

Class Method Detail

def self.from_delta(dx, dy) #

[View source]

Instance Method Detail

def down? #

[View source]
def left? #

[View source]
def none? #

[View source]
def opposite #

[View source]
def opposite?(other_direction) #

[View source]
def right? #

[View source]
def to_delta #

[View source]
def to_rotation #

[View source]
def up? #

[View source]