fix: el tabe podia spawnejar-se en la seqüencia final.

Resol #89
This commit is contained in:
2025-08-24 18:54:20 +02:00
parent e4702e4e24
commit c85336a4d0
3 changed files with 29 additions and 5 deletions

View File

@@ -210,4 +210,14 @@ void Tabe::disable() {
// Detiene/activa el timer
void Tabe::pauseTimer(bool value) {
timer_.setPaused(value);
}
// Deshabilita el spawning permanentemente
void Tabe::disableSpawning() {
timer_.setSpawnDisabled(true);
}
// Habilita el spawning nuevamente
void Tabe::enableSpawning() {
timer_.setSpawnDisabled(false);
}