You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
20 lines
307 B
20 lines
307 B
#ifndef MAP_H
|
|
#define MAP_H
|
|
|
|
#include "position.h"
|
|
#include "tile.h"
|
|
|
|
class Map
|
|
{
|
|
public:
|
|
void addThing(Thing *thing, const Position& pos);
|
|
|
|
void draw(int x, int y);
|
|
|
|
private:
|
|
// Visible tiles are 15x11, but we have a +3 value. We have 15 floors.
|
|
Tile m_map[20][16][15];
|
|
};
|
|
|
|
#endif // MAP_H
|