DashEffect will now spawn a player model behind the player that will fade out .

This commit is contained in:
stiffly
2016-03-02 14:15:20 +01:00
parent 03a35d0f5e
commit 1217b25d02
4 changed files with 47 additions and 2 deletions
@@ -41,6 +41,8 @@ private:
bool OnPlayerSpawned(Events::PlayerSpawned& e);
EventRelay<PlayerMovementSystem, Events::DoubleJump> m_EDoubleJump;
bool PlayerMovementSystem::OnDoubleJump(Events::DoubleJump & e);
EventRelay<PlayerMovementSystem, Events::DashAbility> m_EDashAbility;
bool PlayerMovementSystem::OnDashAbility(Events::DashAbility & e);
void updateMovementControllers(double dt);
void updateVelocity(EntityWrapper player, double dt);