feat: Refactor to use Wolf3dFlutterEngine across the application

Signed-off-by: Hans Kokx <hans.d.kokx@gmail.com>
This commit is contained in:
2026-03-23 18:56:51 +01:00
parent 5a2681e89b
commit 5ef59d9980
14 changed files with 273 additions and 223 deletions
@@ -20,7 +20,7 @@ String formatGalleryGameTitle(GameVersion version) {
/// Selects which discovered game data set gallery screens should display.
class GalleryGameSelector extends StatelessWidget {
final Wolf3d wolf3d;
final Wolf3dFlutterEngine wolf3d;
final WolfensteinData selectedGame;
final ValueChanged<WolfensteinData> onSelected;
@@ -3,10 +3,11 @@ library;
import 'package:flutter/material.dart';
import 'package:wolf_3d_flutter/wolf_3d_flutter.dart';
/// Minimal app shell that binds a prepared [Wolf3d] instance to host screens.
/// Minimal app shell that binds a prepared [Wolf3dFlutterEngine] instance to
/// host screens.
class Wolf3dApp extends StatelessWidget {
/// Shared initialized facade that owns game data, input, and audio services.
final Wolf3d wolf3d;
final Wolf3dFlutterEngine wolf3d;
const Wolf3dApp({
super.key,