Damage and Spashdamage working, phantomShapes not really working

This commit is contained in:
ViktorLjung
2014-05-27 07:04:29 +02:00
parent a0ee235473
commit c37df5c178
27 changed files with 804 additions and 202 deletions
+17
View File
@@ -0,0 +1,17 @@
#ifndef Events_Damage_h__
#define Events_Damage_h__
#include "Entity.h"
#include "EventBroker.h"
namespace Events
{
struct Damage : Event
{
EntityID Entity;
float damage;
};
}
#endif // Events_Damage_h__
+17
View File
@@ -0,0 +1,17 @@
#ifndef Events_EnterTrigger_h__
#define Events_EnterTrigger_h__
#include "Entity.h"
#include "EventBroker.h"
namespace Events
{
struct EnterTrigger : Event
{
EntityID Entity1;
EntityID Entity2;
};
}
#endif // Events_EnterTrigger_h__