Movement/rotation queue fixed and Simon force push

This commit is contained in:
ViktorLjung
2014-05-31 03:52:39 +02:00
parent c489547294
commit a142d368a7
18 changed files with 433 additions and 202 deletions
+1 -1
View File
@@ -10,7 +10,7 @@ namespace Events
{
EntityID Entity;
glm::vec3 GoalPosition;
double Time;
float Speed;
bool Queue;
};
+19
View File
@@ -0,0 +1,19 @@
#ifndef Event_Rotate_h__
#define Event_Rotate_h__
#include "EventBroker.h"
namespace Events
{
struct Rotate : Event
{
EntityID Entity;
glm::quat GoalRotation;
double Time;
bool Queue;
};
}
#endif // Event_Rotate_h__