#ifndef MAP_H #define MAP_H #include #include "raylib.h" /** * Holds the collision and texture maps for the game world */ class Map { public: Map(); ~Map() {} void draw(); private: /** Holds the number for every single tile, which refers to a certain sprite in the tileset */ std::vector> map; /** Holds 1s (collision) and 0s (no collision) for every tile */ std::vector> colMap; float tileSize = 32; Texture2D tileset; void loadMap(); void loadColMap(){} void loadTileset(); }; #endif