EEntityDeleted and EComponentDeleted events published by World

This commit is contained in:
2016-01-24 13:49:45 +01:00
parent 7567f47a68
commit 67477ff3ae
5 changed files with 108 additions and 33 deletions
+19
View File
@@ -0,0 +1,19 @@
#ifndef EEntityDeleted_h__
#define EEntityDeleted_h__
#include "Event.h"
#include "Entity.h"
namespace Events
{
struct EntityDeleted : Event
{
EntityID DeletedEntity;
// True if the entity deletion was triggered because the entity's parent was deleted before it
bool Cascaded;
};
}
#endif