naprawa pozycji + nowe rakiety

This commit is contained in:
2024-11-21 22:42:12 +01:00
parent 2bdfbb193c
commit 343b312227
10 changed files with 14 additions and 14 deletions

View File

@@ -88,8 +88,8 @@ int main()
for (auto& meteor : plansza.getMeteors()) {
if(ship.getSprite().getGlobalBounds().intersects(meteor.getSprite().getGlobalBounds())) {
std::cout << "You lost the game!\n";
window.close();
exit(-2); // Kod -2 oznacza uderzenie się w meteoryt
// window.close();
// exit(-2); // Kod -2 oznacza uderzenie się w meteoryt
}
}