diff --git a/include/KeyboardController.h b/include/KeyboardController.h index 528b0b1..1466719 100644 --- a/include/KeyboardController.h +++ b/include/KeyboardController.h @@ -20,8 +20,8 @@ public: SpriteComponent* sprite; - //for attack cooldown in between shots - uint32_t lastFireTime; + //for attack cooldown in between shots + uint32_t lastFireTime; uint32_t fireCooldown = 800; //in ms can be adjusted to change possible attack-speed KeyboardController() = default; @@ -35,4 +35,4 @@ private: //for creation of projectiles TransformComponent* player; //for starting position of projectile Vector2D fireVelocity; //decide source of projectile and flying direction -}; \ No newline at end of file +};