#ifndef INCLUDE_MAP_H #define INCLUDE_MAP_H #include "Camera.h" #include "Entity.h" namespace WalrusRPG { class Map { protected: // data; // tileset; unsigned int width; unsigned int height; unsigned *layer0; unsigned *layer1; public: Map(int width, int height, unsigned *layer0, unsigned *layer1); ~Map(); void render(Camera &camera, unsigned dt) const; void update(unsigned dt); bool entity_collide(Entity &entity) const; }; } #endif