class Day22::Surface

Defined in:

day22.cr

Constant Summary

LOCKED_TOOLS = {Terrain::Rocky => Tool::Neither, Terrain::Wet => Tool::Torch, Terrain::Narrow => Tool::ClimbingGear}

Constructors

Instance Method Summary

Constructor Detail

def self.new(depth : Int32) #

[View source]

Instance Method Detail

def allow(x, y, tool) #

[View source]
def terrain(x, y) #

[View source]