Implementacja naliczania punktów za zabicie wrogów

This commit is contained in:
2024-12-14 20:32:08 +01:00
parent 9432cd94fe
commit 94eddb457f
7 changed files with 18 additions and 7 deletions

View File

@@ -46,6 +46,7 @@ public:
}
static ships selectedShip;
static unsigned int score;
private:
Background background;
AudioManager audioManager;
@@ -87,7 +88,6 @@ private:
std::vector<Heart> hearts;
std::vector<sf::Sprite> heartStats;
bool gameOver = false;
unsigned int score = 0;
};
#endif //PLANSZA_H