Kolizja wiazki dodana
This commit is contained in:
@@ -37,20 +37,12 @@ Plansza::Plansza(unsigned int windowHeight, unsigned int windowWidth, sf::Render
|
||||
BombaTexture.loadFromFile("../assets/img/bullets/bomba.png");
|
||||
WiazkowiecTexture.loadFromFile("../assets/img/enemy/wiazkowiec.png");
|
||||
enemyBulletTexture.loadFromFile("../assets/img/bullets/enemy_bullet.png");
|
||||
BossTexture.loadFromFile("../assets/img/boss/boss.png");
|
||||
} catch (std::exception &e) {
|
||||
std::cerr << "Failed to load textures: " << e.what() << std::endl;
|
||||
exit(-500);
|
||||
}
|
||||
|
||||
try {
|
||||
// ...
|
||||
BossTexture.loadFromFile("../assets/img/boss/boss.png");
|
||||
} catch (std::exception &e) {
|
||||
std::cerr << "Failed to load boss texture: " << e.what() << std::endl;
|
||||
exit(-500);
|
||||
}
|
||||
|
||||
|
||||
score = 0;
|
||||
|
||||
// Wczytywanie czcionki dla licznika punktów
|
||||
|
||||
Reference in New Issue
Block a user