class Day13::Cart

Defined in:

day13.cr

Constructors

Instance Method Summary

Constructor Detail

def self.new(x : Int32, y : Int32, dir : Day13::Dir) #

[View source]

Instance Method Detail

def dead : Bool #

[View source]
def dead=(dead : Bool) #

[View source]
def dir : Dir #

[View source]
def dir=(dir : Dir) #

[View source]
def rotate(dir, delta) #

[View source]
def step(road : Road) #

[View source]
def turn : Day13::Turn #

[View source]
def turn=(turn : Day13::Turn) #

[View source]
def x : Int32 #

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

[View source]
def y : Int32 #

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

[View source]