stratgame

view level/src/level.h @ 5:2e38715de41b

terrain
author John Tsiombikas <nuclear@member.fsf.org>
date Sun, 27 May 2012 07:00:48 +0300
parents 8d95187cb3ee
children
line source
1 #ifndef LEVEL_H_
2 #define LEVEL_H_
4 #include <string>
5 #include <map>
6 #include <imago2.h>
7 #include "tinyxml2.h"
9 class Terrain;
11 class Level {
12 private:
13 tinyxml2::XMLDocument xml;
14 Terrain *terrain;
16 public:
17 Level();
18 ~Level();
20 bool load(const char *fname);
22 void draw() const;
23 };
25 #endif // LEVEL_H_