Added a afterimage SprintEffect for the Sniper.

This commit is contained in:
Jocke
2016-03-03 21:24:31 +01:00
parent a5c1e34b8d
commit b1148c0c6c
5 changed files with 69 additions and 2 deletions
@@ -30,6 +30,8 @@ private:
bool m_LeftFoot = false;
// To get a difference when calculating the walking state.
glm::vec3 m_LastPosition = glm::vec3();
// Used to track afterimages for sprint effect.
float m_SprintEffectTimer;
// The logic for making the sound play when player is moving
void playerStep(double dt);
// Spawn a hexagon at origin of an Entity