|
|
@ -1,7 +1,6 @@
|
|
|
|
part of 'game_bloc.dart';
|
|
|
|
part of 'game_bloc.dart';
|
|
|
|
|
|
|
|
|
|
|
|
/// Enum to describe all the available bonuses
|
|
|
|
/// Defines bonuses that a player can gain during a [PinballGame].
|
|
|
|
/// on the game
|
|
|
|
|
|
|
|
enum GameBonuses {
|
|
|
|
enum GameBonuses {
|
|
|
|
letterSequence,
|
|
|
|
letterSequence,
|
|
|
|
}
|
|
|
|
}
|
|
|
@ -36,8 +35,8 @@ class GameState extends Equatable {
|
|
|
|
/// Active bonus letters.
|
|
|
|
/// Active bonus letters.
|
|
|
|
final List<int> activatedBonusLetters;
|
|
|
|
final List<int> activatedBonusLetters;
|
|
|
|
|
|
|
|
|
|
|
|
/// Holds the history of all the bonuses
|
|
|
|
/// Holds the history of all the [GameBonus]es earned by the player during a
|
|
|
|
/// that the palyer earned during the play
|
|
|
|
/// [PinballGame].
|
|
|
|
final List<GameBonuses> bonusHistory;
|
|
|
|
final List<GameBonuses> bonusHistory;
|
|
|
|
|
|
|
|
|
|
|
|
/// Determines when the game is over.
|
|
|
|
/// Determines when the game is over.
|
|
|
|