struct Day22::Position

Defined in:

day22.cr

Constructors

Instance Method Summary

Constructor Detail

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

[View source]

Instance Method Detail

def clone #

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

[View source]
def possible_moves(surface, &) #

[View source]
def possible_switches(surface, &) #

[View source]
def tool : Tool #

def x : Int32 #

def y : Int32 #