diff options
| author | aleksav013 <aleksav013@gmail.com> | 2021-06-06 01:45:47 +0200 |
|---|---|---|
| committer | aleksav013 <aleksav013@gmail.com> | 2021-06-06 01:45:47 +0200 |
| commit | 060ddd25ef18a6289d01283bc76bc4da90bf2a39 (patch) | |
| tree | 9b59683089b08a5cacb606be09738c78ed88e493 /src/includes/Powerup.hpp | |
| parent | bf4e10748f20572a8b69da99c97bf5cd17f8b250 (diff) | |
Adding powerup content; Fixing dt bug
Diffstat (limited to 'src/includes/Powerup.hpp')
| -rw-r--r-- | src/includes/Powerup.hpp | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/includes/Powerup.hpp b/src/includes/Powerup.hpp index 2b6ec72..8a4d7db 100644 --- a/src/includes/Powerup.hpp +++ b/src/includes/Powerup.hpp @@ -6,8 +6,10 @@ class Powerup:public Entity { public: static float time; + int type; Powerup():Entity() {} - Powerup(sf::Vector2f pozicija,sf::Vector2f velicina,sf::Color boja); + Powerup(sf::Vector2f pozicija,sf::Vector2f velicina,sf::Color boja,int vrsta); + void respawn(int sirina,int visina,int vrsta); }; #endif |
