Gate working

This commit is contained in:
ViktorLjung
2014-05-29 21:25:30 +02:00
parent b8ec7e1dbd
commit a1149394bb
13 changed files with 289 additions and 21 deletions
+17
View File
@@ -0,0 +1,17 @@
#ifndef Events_LeaveTrigger_h__
#define Events_LeaveTrigger_h__
#include "Entity.h"
#include "EventBroker.h"
namespace Events
{
struct LeaveTrigger : Event
{
EntityID Entity1;
EntityID Entity2;
};
}
#endif // Events_LeaveTrigger_h__
+19
View File
@@ -0,0 +1,19 @@
#ifndef Event_Move_h__
#define Event_Move_h__
#include "EventBroker.h"
namespace Events
{
struct Move : Event
{
EntityID Entity;
glm::vec3 GoalPosition;
double Time;
bool Queue;
};
}
#endif // Event_Move_h__