Shots need more work
This commit is contained in:
@@ -10,9 +10,9 @@ namespace Components
|
||||
{
|
||||
BarrelSteering()
|
||||
: Velocity(1.f), Axis(glm::vec3(0,1,0)){ }
|
||||
|
||||
float Velocity;
|
||||
glm::vec3 Axis;
|
||||
EntityID ShotTemplate;
|
||||
};
|
||||
|
||||
}
|
||||
|
||||
@@ -0,0 +1,17 @@
|
||||
#ifndef Shot_h__
|
||||
#define Shot_h__
|
||||
|
||||
#include "Component.h"
|
||||
|
||||
namespace Components
|
||||
{
|
||||
|
||||
struct Shot : Component
|
||||
{
|
||||
Shot();
|
||||
float Speed;
|
||||
};
|
||||
|
||||
}
|
||||
|
||||
#endif // Shot_h__
|
||||
Reference in New Issue
Block a user