class Works::Map
- Works::Map
- Reference
- Object
Defined in:
works/map.crConstructors
Instance Method Summary
- #destroy
- #draw
- #get_ore(col, row)
- #get_struct(mouse)
- #ground : Array(Array(Works::Tile::Base))
- #inbounds?(col, row)
- #inbounds?(strct : Struct::Base)
- #ore : Array(Array(Works::Tile::Ore::Base?))
- #sheight
- #structs : Array(Works::Struct::Base)
- #swidth
- #sx
- #sy
- #update
- #update_viewport(player_x, player_y)
- #viewable?(cell : Cell)
- #viewables(cells : Array(Cell))
- #viewables : Array(Works::Cell)
- #viewables_grid(cells : Array(Array(Cell | Nil)))
- #viewport_col_max
- #viewport_col_min
- #viewport_row_max
- #viewport_row_min
- #x : Int32
- #y : Int32