emmmm, strzal niby jest w bullecie, ale chujowo to dziala

This commit is contained in:
2024-12-04 23:33:21 +01:00
parent 9d4af21d4d
commit 8db6b8572d
3 changed files with 27 additions and 5 deletions

View File

@@ -57,7 +57,7 @@ void Plansza::update() {
// TODO: Przenieść obiekt dźwięku wewnątrz klasy Bullet
if (sf::Mouse::isButtonPressed(sf::Mouse::Left)) {
ship.shoot();
audioManager.playSoundEffect("shoot", 70.f); // Odtworzenie dźwięku wystrzału
// audioManager.playSoundEffect("shoot", 70.f); // Odtworzenie dźwięku wystrzału
}
if (sf::Mouse::isButtonPressed(sf::Mouse::Right)) {
ship.alternate_shoot();