class Tile::Map
- Tile::Map
- Reference
- Object
Defined in:
tile/map.crConstructors
Instance Method Summary
- #assign_tile_at(pos : SF::Vector2(Int32), index)
- #height : UInt32
-
#map : Array(UInt32)
Tile map.
- #next_tile_at(pos : SF::Vector2(Int32))
- #prev_tile_at(pos : SF::Vector2(Int32))
- #tile_at(pos : SF::Vector2(Int32))
-
#tile_size : SF::Vector2(Int32)
Individual tile size
-
#width : UInt32
Width and height, in tiles.