Barebones entity component commit events

Conflicts:
	src/GameWorld.cpp
This commit is contained in:
ViktorLjung
2014-04-22 17:18:54 +02:00
parent 4481c95681
commit f0b2f2a659
4 changed files with 23 additions and 0 deletions
+2
View File
@@ -24,6 +24,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;