Barebones entity component commit events

This commit is contained in:
2014-04-22 15:42:40 +02:00
parent b1edefcf26
commit 84d6911744
4 changed files with 18 additions and 0 deletions
+2
View File
@@ -63,6 +63,8 @@ public:
std::shared_ptr<Component> AddComponent(EntityID entity, std::string componentType);
template <class T>
T* GetComponent(EntityID entity, std::string componentType);
// Triggers commit events in systems
void CommitEntity(EntityID entity);
/*std::vector<EntityID> GetEntityChildren(EntityID entity);*/