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
@@ -28,6 +28,8 @@ public:
virtual void OnComponentCreated(std::string type, std::shared_ptr<Component> component) { }
// Called when a component is removed
virtual void OnComponentRemoved(std::string type, Component* component) { }
// Called when components are committed to an entity
virtual void OnEntityCommit(EntityID entity) { }
protected:
World* m_World;