Started PickupSpawnSystem, added 2 events and a system

This commit is contained in:
verysecrethero
2016-02-04 17:43:45 +01:00
parent b56824786c
commit 6a23a987b3
7 changed files with 69 additions and 0 deletions
+18
View File
@@ -0,0 +1,18 @@
#ifndef EPickupSpawned_h__
#define EPickupSpawned_h__
#include "Core/Event.h"
#include "Core/EntityWrapper.h"
namespace Events
{
struct PickupSpawned : Event
{
EntityID PickupID;
EntityWrapper Spawner;
};
}
#endif
+19
View File
@@ -0,0 +1,19 @@
#ifndef EPickupTaken_h__
#define EPickupTaken_h__
#include "Core/Event.h"
#include "Core/EntityWrapper.h"
namespace Events
{
struct PickupTaken : Event
{
EntityID PickupID;
EntityWrapper Spawner;
EntityWrapper Player;
};
}
#endif