source: trunk/src/layer.h @ 70

Last change on this file since 70 was 70, checked in by sam, 10 years ago

Breaking the map/layer code apart. Needs more work.

  • Property svn:keywords set to Id
File size: 339 bytes
Line 
1
2/*
3 * The layer object
4 */
5
6#if !defined __DH_LAYER_H__
7#define __DH_LAYER_H__
8
9#include <cstdio>
10
11class Layer
12{
13public:
14    Layer(int w, int h, int z, char const *base64);
15    ~Layer();
16
17    int GetZ();
18    unsigned int GetTile(int x, int y);
19
20private:
21    int width, height, level;
22    unsigned int *data;
23};
24
25#endif // __DH_LAYER_H__
26
Note: See TracBrowser for help on using the repository browser.