|
@@ -21,7 +21,8 @@ namespace WalrusRPG
|
|
|
~Map();
|
|
~Map();
|
|
|
void render(Camera &camera, unsigned dt) const;
|
|
void render(Camera &camera, unsigned dt) const;
|
|
|
void update(unsigned dt);
|
|
void update(unsigned dt);
|
|
|
- bool entity_collide(Entity &entity) const;
|
|
|
|
|
|
|
+ bool is_tile_solid(unsigned x, unsigned y) const;
|
|
|
|
|
+ bool is_pixel_solid(unsigned x, unsigned y) const;
|
|
|
unsigned get_width() const;
|
|
unsigned get_width() const;
|
|
|
unsigned get_height() const;
|
|
unsigned get_height() const;
|
|
|
};
|
|
};
|