source: trunk/src/map.h @ 126

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

Minor updates here and there. Not worth mentioning.

  • Property svn:keywords set to Id
File size: 515 bytes
Line 
1//
2// Deus Hax (working title)
3// Copyright (c) 2010 Sam Hocevar <sam@hocevar.net>
4//
5
6//
7// The Map class
8// -------------
9// A Map object is a collection of Layers and other information (to be
10// determined later).
11//
12
13#if !defined __DH_MAP_H__
14#define __DH_MAP_H__
15
16#include "scene.h"
17
18class MapData;
19
20class Map
21{
22public:
23    Map(char const *path);
24    ~Map();
25
26    void Render(Scene *scene, int x, int y, int z);
27    int GetWidth();
28    int GetHeight();
29
30private:
31    MapData *data;
32};
33
34#endif // __DH_MAP_H__
35
Note: See TracBrowser for help on using the repository browser.