OnComponentCreated nu eventbaserat

This commit is contained in:
Stiffly
2014-05-25 04:01:40 +02:00
parent ad902cb511
commit 072e4d4dbb
8 changed files with 32 additions and 13 deletions
-2
View File
@@ -27,8 +27,6 @@ public:
// Called once for every entity in the world every tick
virtual void UpdateEntity(double dt, EntityID entity, EntityID parent) { }
// Called when a component is created
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