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:
parent
59fc17ec25
commit
7fbcda681c
@ -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
|
||||||
};
|
};
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user