struct Day20::Position

Defined in:

day20.cr

Constructors

Instance Method Summary

Constructor Detail

def self.new(x : Int32, y : Int32, dist : Int32) #

[View source]

Instance Method Detail

def +(pt : JustPoint) #

[View source]
def clone #

[View source]
def copy_with(x _x = @x, y _y = @y, dist _dist = @dist) #

[View source]
def dist : Int32 #

def join(other_way : Int32) #

[View source]
def point #

[View source]
def x : Int32 #

def y : Int32 #