source: trunk/src/map.h @ 38

Last change on this file since 38 was 38, checked in by sam, 9 years ago

Dynamically allocate layers when loading maps.

  • Property svn:keywords set to Id
File size: 199 bytes
Line 
1
2#include <cstdio>
3
4#include "layer.h"
5#include "tiler.h"
6
7class Map
8{
9public:
10    Map(char const *path);
11    ~Map();
12
13    void Draw(Tiler *tiler);
14
15private:
16    Layer **layers;
17    int nlayers;
18};
19
Note: See TracBrowser for help on using the repository browser.