0
0
mirror of https://github.com/Nimac0/SDL_Minigame synced 2026-01-12 10:13:42 +00:00

Fixes inconsistent indentations on KeyboardController.h

This commit is contained in:
Nanogamer7 2024-01-27 18:19:07 +01:00 committed by GitHub
parent 59fc17ec25
commit 7fbcda681c
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -20,8 +20,8 @@ public:
SpriteComponent* sprite; SpriteComponent* sprite;
//for attack cooldown in between shots //for attack cooldown in between shots
uint32_t lastFireTime; uint32_t lastFireTime;
uint32_t fireCooldown = 800; //in ms can be adjusted to change possible attack-speed uint32_t fireCooldown = 800; //in ms can be adjusted to change possible attack-speed
KeyboardController() = default; KeyboardController() = default;
@ -35,4 +35,4 @@ private:
//for creation of projectiles //for creation of projectiles
TransformComponent* player; //for starting position of projectile TransformComponent* player; //for starting position of projectile
Vector2D fireVelocity; //decide source of projectile and flying direction Vector2D fireVelocity; //decide source of projectile and flying direction
}; };