now using a define INDICATOR_TEST to activate the DamageIndicatorSystem test.

This commit is contained in:
verysecrethero
2016-02-24 13:58:05 +01:00
parent e2831c5593
commit af68236e71
2 changed files with 8 additions and 4 deletions
+4 -2
View File
@@ -14,6 +14,7 @@
#include <glm/gtx/vector_angle.hpp>
#include "Rendering/Util/CommonFunctions.h"
//#define INDICATOR_TEST
class DamageIndicatorSystem : public ImpureSystem
{
@@ -40,8 +41,9 @@ private:
float CalculateAngle(EntityWrapper player, glm::vec3 enemyPos);
//for tests
int m_TestVar = 0;
bool m_Testing = false;
#ifdef INDICATOR_TEST
glm::vec3 DamageIndicatorTest(EntityWrapper player);
int m_TestVar = 0;
#endif
};
#endif