Done with the fix & test for DamageIndicatorSystem

This commit is contained in:
verysecrethero
2016-02-23 17:12:16 +01:00
parent 2c9c374f51
commit 9bba9e493c
2 changed files with 67 additions and 105 deletions
+4 -2
View File
@@ -31,15 +31,17 @@ private:
EntityID m_CurrentCamera = -1;
struct DamageIndicatorStruct {
EntityWrapper spriteEntity;
//double timeLeft;
glm::vec3 enemyPosition;
DamageIndicatorStruct(EntityWrapper entity, glm::vec3 pos)
: spriteEntity(entity)
//, timeLeft(time)
, enemyPosition(pos) {}
};
std::vector<DamageIndicatorStruct> updateDamageIndicatorVector;
float CalculateAngle(EntityWrapper player, glm::vec3 enemyPos);
glm::vec3 DamageIndicatorTest(EntityWrapper player);
//for tests
int m_TestVar = 0;
bool m_Testing = true;
};
#endif