summaryrefslogtreecommitdiffstats
path: root/src/Data/Level.h
diff options
context:
space:
mode:
authorneoraider <devnull@localhost>2008-04-10 20:36:05 +0200
committerneoraider <devnull@localhost>2008-04-10 20:36:05 +0200
commit84780a8c1d9801e6a2c9f14dd0c17f362ccf7a57 (patch)
treed171330a2812706b8ab205fe33b870de6bc077ed /src/Data/Level.h
parent2271ef709f6785b2e156ddca311c7628b7803af0 (diff)
downloadzoomedit-84780a8c1d9801e6a2c9f14dd0c17f362ccf7a57.tar
zoomedit-84780a8c1d9801e6a2c9f14dd0c17f362ccf7a57.zip
zoomedit:
* Mapped XML data structures to classes completely.
Diffstat (limited to 'src/Data/Level.h')
-rw-r--r--src/Data/Level.h11
1 files changed, 11 insertions, 0 deletions
diff --git a/src/Data/Level.h b/src/Data/Level.h
index 621263e..ab660a2 100644
--- a/src/Data/Level.h
+++ b/src/Data/Level.h
@@ -20,7 +20,10 @@
#ifndef ZOOMEDIT_DATA_LEVEL_H_
#define ZOOMEDIT_DATA_LEVEL_H_
+#include "Info.h"
#include "Room.h"
+#include "Gate.h"
+#include "Texture.h"
#include <list>
namespace ZoomEdit {
@@ -28,9 +31,17 @@ namespace Data {
class Level {
private:
+ Info info;
+
std::list<Room> rooms;
xmlpp::Element *roomsNode;
+ std::list<Gate> gates;
+ xmlpp::Element *gatesNode;
+
+ std::list<Texture> textures;
+ xmlpp::Element *texturesNode;
+
public:
Level(xmlpp::Element *levelNode);
};