treballan en el carrusel per a posar el nom

This commit is contained in:
2025-10-01 14:00:56 +02:00
parent bddb790fe2
commit 34baa3c97d
8 changed files with 177 additions and 255 deletions

View File

@@ -204,10 +204,8 @@ class Player {
// Contadores y timers
[[nodiscard]] auto getContinueCounter() const -> int { return continue_counter_; }
[[nodiscard]] auto getRecordNamePos() const -> int; // Obtiene la posición que se está editando del nombre del jugador para la tabla de mejores puntuaciones
[[nodiscard]] auto getRecordName() const -> std::string { return enter_name_ ? enter_name_->getFinalName() : "xxx"; }
[[nodiscard]] auto getLastEnterName() const -> std::string { return last_enter_name_; }
[[nodiscard]] auto getEnterNamePositionOverflow() const -> bool { return enter_name_ ? enter_name_->getPositionOverflow() : false; }
// --- Configuración e interfaz externa ---
void setName(const std::string& name) { name_ = name; }