Quan el jugador moria podia quedarse engantxat rebotant en les vores

So aleatori en els rebots del jugador al morir
This commit is contained in:
2025-01-03 20:36:18 +01:00
parent 8c2b1ce649
commit 6effeb6154
2 changed files with 19 additions and 4 deletions

View File

@@ -118,6 +118,10 @@ private:
// Cambia el modo del marcador
void setScoreboardMode(ScoreboardMode mode);
// Hace sonar un ruido al azar
void playRandomBubbleSound();
// Getters
bool isRenderable() const { return !isWaiting() && !isGameOver(); }
public: