class Day17::Map

Defined in:

day17.cr

Constructors

Instance Method Summary

Constructor Detail

def self.new(minx : Int32, maxx : Int32, miny : Int32, maxy : Int32, lines) #

[View source]

Instance Method Detail

def cell_at(ax, ay) #

[View source]
def check_flow(ax, ay) #

[View source]
def draw #

[View source]
def flows : Array(Day17::Flow) #

[View source]
def height : Int32 #

[View source]
def maxx : Int32 #

[View source]
def maxy : Int32 #

[View source]
def minx : Int32 #

[View source]
def miny : Int32 #

[View source]
def rate #

[View source]
def rate2 #

[View source]
def set_cell(ax, ay, acell) #

[View source]
def simulate_flows #

[View source]
def width : Int32 #

[View source]