class Ship1

Defined in:

12/main.cr

Constructors

Instance Method Summary

Macro Summary

Constructor Detail

def self.new #

[View source]

Instance Method Detail

def east(value) #

[View source]
def forward(value) #

[View source]
def left(value) #

[View source]
def north(value) #

N (+1) W (-1) E (+1) S (-1)


[View source]
def pointing : Int32 #

[View source]
def pointing=(pointing : Int32) #

[View source]
def right(value) #

[View source]
def south(value) #

[View source]
def west(value) #

[View source]
def x : Int32 #

[View source]
def x=(x : Int32) #

[View source]
def y : Int32 #

[View source]
def y=(y : Int32) #

[View source]

Macro Detail

macro direction(name, var, offset) #

[View source]