nou: modificat el valor de velocitat en la creació dels globos verds. i tornat a deixar com estava

This commit is contained in:
2025-09-30 12:42:38 +02:00
parent a0fb6934b0
commit a4abc02f88
3 changed files with 45 additions and 30 deletions

View File

@@ -122,6 +122,8 @@ class Balloon {
// --- Setters ---
void setVelY(float vel_y) { vy_ = vel_y; }
void setVelX(float vel_x) { vx_ = vel_x; }
void alterVelX(float percent) {vx_ *= percent; }
void setGameTempo(float tempo) { game_tempo_ = tempo; }
void setInvulnerable(bool value) { invulnerable_ = value; }
void setBouncingSound(bool value) { sound_.bouncing_enabled = value; }