From f309ac4ce7bd9f27781187da6a87186802faad4c Mon Sep 17 00:00:00 2001 From: RuiAlonso Date: Wed, 4 May 2022 15:56:26 +0200 Subject: [PATCH] chore: doc --- lib/game/bloc/game_state.dart | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/lib/game/bloc/game_state.dart b/lib/game/bloc/game_state.dart index 671eac2e..2ccb4405 100644 --- a/lib/game/bloc/game_state.dart +++ b/lib/game/bloc/game_state.dart @@ -45,9 +45,9 @@ class GameState extends Equatable { /// The score for the current round of the game. /// - /// All game improvements like multipliers, are only applied to the score for - /// the current round once is lost. Then the [roundScore] is added to - /// the [totalScore] and reset to 0 for the next round. + /// Multipliers are only applied to the score for the current round once is + /// lost. Then the [roundScore] is added to the [totalScore] and reset to 0 + /// for the next round. final int roundScore; /// The total score of the game. @@ -68,7 +68,7 @@ class GameState extends Equatable { /// Determines when the game is over. bool get isGameOver => rounds == 0; - /// The score to be displayed at the game. + /// The score displayed at the game. int get displayScore => roundScore + totalScore; GameState copyWith({