struct AdventOfCode::Navigation::Position

Defined in:

crystal/12.cr

Constructors

Instance Method Summary

Constructor Detail

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

[View source]

Instance Method Detail

def *(value) #

[View source]
def +(position : Position) #

[View source]
def clone #

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

[View source]
def rotate(num) #

[View source]
def x : Int32 #

def y : Int32 #