struct AoC::Commands::Day02::Position

Defined in:

commands/day_02.cr

Constructors

Instance Method Summary

Constructor Detail

def self.new(horizontal : Int32, depth : Int32, aim : Int32 | Nil = nil) #

[View source]

Instance Method Detail

def +(command : Command) #

[View source]
def aim : Int32 | Nil #

def clone #

[View source]
def copy_with(horizontal _horizontal = @horizontal, depth _depth = @depth, aim _aim = @aim) #

[View source]
def depth : Int32 #

def horizontal : Int32 #