First work on EntityFileWriter for saving levels

This commit is contained in:
2016-01-08 11:21:10 +01:00
parent 23e78c4947
commit 81024b4a1d
7 changed files with 177 additions and 4 deletions
+6 -1
View File
@@ -1,3 +1,6 @@
#ifndef EntityFileParser_h__
#define EntityFileParser_h__
#include "EntityFile.h"
#include "World.h"
@@ -20,4 +23,6 @@ private:
void onStartComponent(EntityID entity, std::string component);
void onStartComponentField(EntityID entity, std::string componentType, std::string fieldName, std::map<std::string, std::string> attributes);
void onFieldData(EntityID entity, std::string componentType, std::string fieldName, const char* fieldData);
};
};
#endif