Delegate all audio management to the new audio package, then manage that through a new wolf3d class
Signed-off-by: Hans Kokx <hans.d.kokx@gmail.com>
This commit is contained in:
@@ -1,6 +1,6 @@
|
||||
import 'package:flutter/material.dart';
|
||||
import 'package:wolf_3d_data_types/wolf_3d_data_types.dart';
|
||||
import 'package:wolf_dart/features/difficulty/difficulty_screen.dart';
|
||||
import 'package:wolf_dart/features/screens/episode_screen.dart';
|
||||
import 'package:wolf_dart/wolf_3d.dart';
|
||||
|
||||
class GameSelectScreen extends StatelessWidget {
|
||||
@@ -22,7 +22,7 @@ class GameSelectScreen extends StatelessWidget {
|
||||
Wolf3d.I.setActiveGame(data);
|
||||
Navigator.of(context).push(
|
||||
MaterialPageRoute(
|
||||
builder: (context) => DifficultyScreen(),
|
||||
builder: (context) => const EpisodeScreen(),
|
||||
),
|
||||
);
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user