From 060ddd25ef18a6289d01283bc76bc4da90bf2a39 Mon Sep 17 00:00:00 2001 From: aleksav013 Date: Sun, 6 Jun 2021 01:45:47 +0200 Subject: Adding powerup content; Fixing dt bug --- src/includes/Powerup.hpp | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'src/includes/Powerup.hpp') 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 -- cgit v1.2.3