Added maze class that handles parsing of the map and rendering of the floor, walls and objectives.

Detects and counts the number of objectives encountered. The number is printed on exit.
This commit is contained in:
trotFunky 2019-11-04 03:05:37 +01:00
parent 55f67099cb
commit 4cf658123b
13 changed files with 31453 additions and 41 deletions

View file

@ -7,9 +7,12 @@
#include "Math/Vectors.h"
static const Vec3i path{255,255,255};
static const Vec3i wall{0,0,0};
static const Vec3i end{0,255,0};
static const Vec3i objective{0,0,255};
namespace Tiles
{
static const Vec3i path{255,255,255};
static const Vec3i wall{0,0,0};
static const Vec3i end{0,255,0};
static const Vec3i objective{0,0,255};
}
#endif //LABYRINTHE_TILETYPES_H