Basic tile map implemented.

This commit is contained in:
Zed A. Shaw 2024-12-20 19:39:11 -05:00
parent 290affa49a
commit b66a3154c7
9 changed files with 135 additions and 12 deletions

View file

@ -13,8 +13,8 @@ using namespace fmt;
Map::Map(size_t width, size_t height) :
$width(width),
$height(height),
$tiles(height, matrix::Row(width, INV_WALL)),
$walls(height, matrix::Row(width, INV_WALL)),
$tiles(height, matrix::Row(width, SPACE_VALUE)),
$walls(height, matrix::Row(width, SPACE_VALUE)),
$paths(width, height)
{}