Added camera shaking

This commit is contained in:
MihailRis 2022-03-03 23:16:34 +03:00 • committed by GitHub
parent b598e9ee03
commit cdc8a26a30
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 29 additions and 13 deletions

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();
};