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
+1 -1
View File
@@ -22,7 +22,7 @@ public:
// Attach a component to an entity and fill it with default values
ComponentWrapper AttachComponent(EntityID entity, std::string componentType);
// Check if an entity has a component
bool HasComponent(EntityID entity, std::string componentType);
bool HasComponent(EntityID entity, std::string componentType) const;
// Get a component of an entity
ComponentWrapper GetComponent(EntityID entity, std::string componentType);
// Delete a component off an entity