canvi de pc
This commit is contained in:
@@ -21,8 +21,8 @@ public:
|
||||
void incIndex(); // Incrementa el índice del carácter en la lista
|
||||
void decIndex(); // Decrementa el índice del carácter en la lista
|
||||
|
||||
std::string getFinalName() const { return trim(name_.substr(0, position_)); } // Obtiene el nombre final introducido
|
||||
std::string getCurrentName() const { return trim(name_); } // Obtiene el nombre actual en proceso
|
||||
std::string getFinalName(); // Obtiene el nombre final introducido
|
||||
std::string getCurrentName() const { return trim(name_); } // Obtiene el nombre actual en proceso
|
||||
|
||||
int getPosition() const { return position_; } // Posición actual del carácter editado
|
||||
bool getPositionOverflow() const { return position_overflow_; } // Indica si la posición excede el límite
|
||||
@@ -37,4 +37,5 @@ private:
|
||||
void updateNameFromCharacterIndex(); // Actualiza "name_" según "character_index_"
|
||||
void initCharacterIndex(const std::string &name); // Inicializa índices desde el nombre
|
||||
int findIndex(char character) const; // Busca el índice de un carácter en "character_list_"
|
||||
static std::string getRandomName(); // Devuelve un nombre al azar
|
||||
};
|
||||
Reference in New Issue
Block a user