mirror of
https://github.com/Nimac0/SDL_Minigame
synced 2026-01-12 07:53:43 +00:00
Fixes inconsistent indentations on KeyboardController.h
This commit is contained in:
parent
59fc17ec25
commit
7fbcda681c
@ -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
|
||||
};
|
||||
};
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user