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
+19
View File
@@ -0,0 +1,19 @@
#ifndef Event_ComponentCreated_h__
#define Event_ComponentCreated_h__
#include "EventBroker.h"
#include "Entity.h"
#include "Component.h"
namespace Events
{
struct ComponentCreated : Event
{
EntityID Entity;
std::shared_ptr<::Component> Component;
};
}
#endif // Event_ComponentCreated_h__