enum RPG::Direction

Defined in:

rpg/direction.cr

Enum Members

Up = 0
UpRight = 1
Right = 2
DownRight = 3
Down = 4
DownLeft = 5
Left = 6
UpLeft = 7

Instance Method Summary

Instance Method Detail

def down? #

[View source]
def down_any? #

[View source]
def down_left? #

[View source]
def down_right? #

[View source]
def left? #

[View source]
def left_any? #

[View source]
def left_or_down? #

[View source]
def left_or_up? #

[View source]
def right? #

[View source]
def right_any? #

[View source]
def right_or_down? #

[View source]
def right_or_up? #

[View source]
def up? #

[View source]
def up_any? #

[View source]
def up_left? #

[View source]
def up_right? #

[View source]