source: trunk/src/tileset.h @ 75

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

Much better resource allocation and release. Scene manager stub.

  • Property svn:keywords set to Id
File size: 370 bytes
Line 
1
2/*
3 * The tile manager
4 */
5
6#if !defined __DH_TILESET_H__
7#define __DH_TILESET_H__
8
9class TileSetData;
10
11class TileSet
12{
13public:
14    TileSet(char const *path);
15    ~TileSet();
16
17    void Ref();
18    int Unref();
19
20    char const *GetName();
21
22    void AddTile(int n, int x, int y, int z);
23
24    void Render();
25
26private:
27    TileSetData *data;
28};
29
30#endif // __DH_TILESET_H__
31
Note: See TracBrowser for help on using the repository browser.