usuwam niepotrzeb
This commit is contained in:
@@ -22,7 +22,6 @@ private:
|
|||||||
Size size;
|
Size size;
|
||||||
sf::Texture meteorTexture;
|
sf::Texture meteorTexture;
|
||||||
RandomNumberGenerator random;
|
RandomNumberGenerator random;
|
||||||
unsigned int meteorsCounter;
|
|
||||||
sf::Clock spawnClock;
|
sf::Clock spawnClock;
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|||||||
@@ -5,7 +5,6 @@
|
|||||||
Plansza::Plansza(int windowHeight, int windowWidth) {
|
Plansza::Plansza(int windowHeight, int windowWidth) {
|
||||||
size.height = windowHeight;
|
size.height = windowHeight;
|
||||||
size.width = windowWidth;
|
size.width = windowWidth;
|
||||||
meteorsCounter = 0;
|
|
||||||
meteorTexture.loadFromFile("../assets/img/meteor.png");
|
meteorTexture.loadFromFile("../assets/img/meteor.png");
|
||||||
spawnClock.restart();
|
spawnClock.restart();
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user