ContactListener and contact events

This commit is contained in:
viktorljung
2015-09-10 21:25:34 +01:00
parent 72bb710448
commit 9bf0ca0e46
6 changed files with 140 additions and 68 deletions
+27
View File
@@ -0,0 +1,27 @@
//
// Created by Viktor on 10/09/2015.
//
#ifndef Events_ECONTACT_h__
#define Events_ECONTACT_h__
#include <glm/detail/type_vec.hpp>
#include "Core/EventBroker.h"
#include "Core/Entity.h"
namespace dd
{
namespace Events
{
struct Contact : Event
{
EntityID Entity1;
EntityID Entity2;
glm::vec2 ContactPoint;
};
}
}
#endif //Events_ECONTACT_h__