EnterName: si has plenat tots els slots de lletres, apretar una volta mes el de fixar lletra fixa el nom
This commit is contained in:
@@ -1650,7 +1650,16 @@ void Game::handleNameInput(const std::shared_ptr<Player> &player)
|
||||
input_->checkInput(InputType::FIRE_CENTER, INPUT_DO_NOT_ALLOW_REPEAT, options.controllers[controllerIndex].type, options.controllers[controllerIndex].index) ||
|
||||
input_->checkInput(InputType::FIRE_RIGHT, INPUT_DO_NOT_ALLOW_REPEAT, options.controllers[controllerIndex].type, options.controllers[controllerIndex].index))
|
||||
{
|
||||
player->setInput(InputType::RIGHT);
|
||||
if (player->getEnterNamePositionOverflow())
|
||||
{
|
||||
player->setInput(InputType::START);
|
||||
addScoreToScoreBoard(player);
|
||||
player->setPlayingState(PlayerState::SHOWING_NAME);
|
||||
}
|
||||
else
|
||||
{
|
||||
player->setInput(InputType::RIGHT);
|
||||
}
|
||||
}
|
||||
else if (input_->checkInput(InputType::UP, INPUT_DO_NOT_ALLOW_REPEAT, options.controllers[controllerIndex].type, options.controllers[controllerIndex].index))
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user