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
RevLine 
[22]1
2/*
3 * The tile manager
4 */
5
[75]6#if !defined __DH_TILESET_H__
7#define __DH_TILESET_H__
[38]8
[75]9class TileSetData;
[22]10
[75]11class TileSet
[22]12{
13public:
[75]14    TileSet(char const *path);
15    ~TileSet();
[22]16
[75]17    void Ref();
18    int Unref();
19
20    char const *GetName();
21
[22]22    void AddTile(int n, int x, int y, int z);
23
24    void Render();
25
26private:
[75]27    TileSetData *data;
[22]28};
29
[75]30#endif // __DH_TILESET_H__
[38]31
Note: See TracBrowser for help on using the repository browser.