Finalitzada la part de entrar nom. Falta posar un temporitzador i una animació

This commit is contained in:
2024-09-30 19:35:41 +02:00
parent 6acf0b7efc
commit 0af441b5df
5 changed files with 25 additions and 19 deletions

View File

@@ -34,6 +34,7 @@ Player::Player(int id, float x, int y, SDL_Rect *playArea, std::vector<Texture *
statusPlaying = PLAYER_STATUS_WAITING;
scoreBoardPanel = 0;
name = "";
setRecordName(enterName->getName());
init();
}
@@ -425,7 +426,6 @@ void Player::setStatusPlaying(int value)
break;
case PLAYER_STATUS_ENTERING_NAME:
setRecordName("");
break;
case PLAYER_STATUS_DYING: