Shots need more work

This commit is contained in:
ViktorLjung
2014-05-13 01:50:58 +02:00
parent 38482431a1
commit b9231e4d46
12 changed files with 207 additions and 14 deletions
+1 -1
View File
@@ -10,9 +10,9 @@ namespace Components
{
BarrelSteering()
: Velocity(1.f), Axis(glm::vec3(0,1,0)){ }
float Velocity;
glm::vec3 Axis;
EntityID ShotTemplate;
};
}
+17
View File
@@ -0,0 +1,17 @@
#ifndef Shot_h__
#define Shot_h__
#include "Component.h"
namespace Components
{
struct Shot : Component
{
Shot();
float Speed;
};
}
#endif // Shot_h__