|
|
@ -57,14 +57,11 @@ class StartGameListener extends StatelessWidget {
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
void _onHowToPlay(BuildContext context) {
|
|
|
|
void _onHowToPlay(BuildContext context) {
|
|
|
|
final player = context.read<PinballPlayer>();
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
_showPinballDialog(
|
|
|
|
_showPinballDialog(
|
|
|
|
context: context,
|
|
|
|
context: context,
|
|
|
|
child: HowToPlayDialog(
|
|
|
|
child: HowToPlayDialog(
|
|
|
|
onDismissCallback: () {
|
|
|
|
onDismissCallback: () {
|
|
|
|
context.read<StartGameBloc>().add(const HowToPlayFinished());
|
|
|
|
context.read<StartGameBloc>().add(const HowToPlayFinished());
|
|
|
|
player.play(PinballAudio.ioPinballVoiceOver);
|
|
|
|
|
|
|
|
},
|
|
|
|
},
|
|
|
|
),
|
|
|
|
),
|
|
|
|
);
|
|
|
|
);
|
|
|
|