stratgame

diff level/src/level.h @ 0:86b53f76899f

foo
author John Tsiombikas <nuclear@member.fsf.org>
date Mon, 21 May 2012 19:07:40 +0300
parents
children 369b51c9e4a8
line diff
     1.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.2 +++ b/level/src/level.h	Mon May 21 19:07:40 2012 +0300
     1.3 @@ -0,0 +1,22 @@
     1.4 +#ifndef LEVEL_H_
     1.5 +#define LEVEL_H_
     1.6 +
     1.7 +#include "tinyxml2.h"
     1.8 +
     1.9 +class Level {
    1.10 +private:
    1.11 +	tinyxml2::XMLDocument xml;
    1.12 +
    1.13 +public:
    1.14 +	Level();
    1.15 +	~Level();
    1.16 +
    1.17 +	bool load(const char *fname);
    1.18 +};
    1.19 +
    1.20 +class Map {
    1.21 +public:
    1.22 +	bool load(tinyxml2::XMLNode *xml);
    1.23 +};
    1.24 +
    1.25 +#endif	// LEVEL_H_