class Day15::Map
- Day15::Map
- Reference
- Object
Defined in:
day15.crConstructors
Instance Method Summary
- #build_wave(aside)
- #cells : Array(Day15::CellType | Day15::Unit)
- #clone
- #draw
- #elf_damage : Int32
- #elf_damage=(elf_damage : Int32)
- #game_over : Bool
- #game_over=(game_over : Bool)
- #height : Int32
- #neighbours(x, y, &)
- #rate
- #read_order(x, y)
- #tick : Int32
- #turn
- #units : Hash(Day15::Side, Array(Day15::Unit))
- #wave
- #wave? : Array({d: Int32, sources: Int32})?
- #wave_targets
- #wave_targets? : Array({Int32, Int32})?
- #width : Int32
- #winner : Side | Nil
- #winner=(winner : Side | Nil)