rajouté des commentaires
This commit is contained in:
parent
b542aea9b3
commit
b5e08cedd5
3 changed files with 36 additions and 8 deletions
|
@ -165,9 +165,9 @@ void Game::update_scores(bool good_action) {
|
|||
ScoreMultiplierText.setString(
|
||||
std::format("ScoreMultiplier = {}", score_multiplier));
|
||||
|
||||
if (score_multiplier < 15) {
|
||||
if (score_multiplier < 5) {
|
||||
carrot.changeState(Angry);
|
||||
} else if (score_multiplier < 60) {
|
||||
} else if (score_multiplier < 15) {
|
||||
carrot.changeState(Neutral);
|
||||
} else {
|
||||
carrot.changeState(Happy);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue