Zaimplementowano pauze
This commit is contained in:
@@ -36,8 +36,15 @@ public:
|
||||
void update_meteors();
|
||||
void update_hearts();
|
||||
void update_power_ups();
|
||||
|
||||
|
||||
void update();
|
||||
void update_score();
|
||||
|
||||
void check_PowerUp_collisions();
|
||||
void check_Heart_collisions();
|
||||
void check_Meteor_collisions();
|
||||
|
||||
void spawn_player();
|
||||
void spawn_enemy();
|
||||
void spawn_advanced_enemy();
|
||||
@@ -50,13 +57,13 @@ public:
|
||||
|
||||
static ships selectedShip;
|
||||
static unsigned int score;
|
||||
sf::Font font;
|
||||
private:
|
||||
Background background;
|
||||
AudioManager audioManager;
|
||||
Player *ship;
|
||||
Size size;
|
||||
sf::RenderWindow *window;
|
||||
sf::Font font;
|
||||
sf::Clock meteorSpawnClock;
|
||||
sf::Clock heartSpawnClock;
|
||||
sf::Clock powerUpSpawnClock;
|
||||
|
||||
Reference in New Issue
Block a user