source: trunk/src/layer.h @ 74

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

Support CSV .tmx files to get rid of that pathetic system() call.

  • Property svn:keywords set to Id
File size: 347 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#include <stdint.h>
11
12class Layer
13{
14public:
15    Layer(int w, int h, int z, uint32_t *data);
16    ~Layer();
17
18    int GetZ();
19    unsigned int GetTile(int x, int y);
20
21private:
22    int width, height, z;
23    uint32_t *data;
24};
25
26#endif // __DH_LAYER_H__
27
Note: See TracBrowser for help on using the repository browser.