Turret able to shoot, no collision event yet.

This commit is contained in:
Tleety
2014-06-05 02:54:44 +02:00
parent 93c4805a22
commit ccb3d6d84f
8 changed files with 214 additions and 23 deletions
+6
View File
@@ -6,6 +6,10 @@
#include "Systems/TransformSystem.h"
#include "Components/Player.h"
#include "Components/Tower.h"
#include "Components/Turret.h"
#include "Components/TurretShot.h"
#include "Events/SetVelocity.h"
#include "Events/CreateExplosion.h"
@@ -29,6 +33,8 @@ namespace Systems
//bool Damage(const Events::Damage &event);
private:
std::map<EntityID, double> m_TimeSinceLastShot;
float Temp_m_TimeSinceLastShot;
};