Basic tile map implemented.
This commit is contained in:
parent
290affa49a
commit
b66a3154c7
9 changed files with 135 additions and 12 deletions
4
map.cpp
4
map.cpp
|
@ -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)
|
||||
{}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue