Added camera shaking

This commit is contained in:
MihailRis
2022-03-03 23:16:34 +03:00
committed by GitHub
parent b598e9ee03
commit cdc8a26a30
2 changed files with 29 additions and 13 deletions
+2
View File
@@ -13,6 +13,8 @@ public:
Hitbox* hitbox;
int choosenBlock;
float camX, camY;
float cameraShaking = 0.0f;
float cameraShakingTimer = 0.0f;
Player(glm::vec3 position, float speed, Camera* camera);
~Player();
};