feat: Refactor to use Wolf3dFlutterEngine across the application
Signed-off-by: Hans Kokx <hans.d.kokx@gmail.com>
This commit is contained in:
@@ -24,7 +24,7 @@ class _AudioRow {
|
||||
/// Displays all decoded SFX and music tracks for the selected game data.
|
||||
class AudioGallery extends StatefulWidget {
|
||||
/// Shared app facade used to access game assets and the audio backend.
|
||||
final Wolf3d wolf3d;
|
||||
final Wolf3dFlutterEngine wolf3d;
|
||||
|
||||
const AudioGallery({super.key, required this.wolf3d});
|
||||
|
||||
|
||||
@@ -7,7 +7,7 @@ import 'package:wolf_3d_flutter/wolf_3d_flutter.dart';
|
||||
/// Presents debug-only navigation shortcuts for asset galleries.
|
||||
class DebugToolsScreen extends StatelessWidget {
|
||||
/// Shared app facade used to access active game assets.
|
||||
final Wolf3d wolf3d;
|
||||
final Wolf3dFlutterEngine wolf3d;
|
||||
|
||||
/// Creates the debug tools screen for [wolf3d].
|
||||
const DebugToolsScreen({super.key, required this.wolf3d});
|
||||
|
||||
@@ -11,10 +11,11 @@ import 'package:wolf_3d_flutter/renderer/wolf_3d_flutter_renderer.dart';
|
||||
import 'package:wolf_3d_flutter/renderer/wolf_3d_glsl_renderer.dart';
|
||||
import 'package:wolf_3d_flutter/wolf_3d_flutter.dart';
|
||||
|
||||
/// Launches a [WolfEngine] via [Wolf3d] and exposes renderer/input integrations.
|
||||
/// Launches a [WolfEngine] via [Wolf3dFlutterEngine] and exposes
|
||||
/// renderer/input integrations.
|
||||
class GameScreen extends StatefulWidget {
|
||||
/// Shared application facade owning the engine, audio, and input.
|
||||
final Wolf3d wolf3d;
|
||||
final Wolf3dFlutterEngine wolf3d;
|
||||
|
||||
/// Optional host-level shortcut override.
|
||||
///
|
||||
|
||||
@@ -10,7 +10,7 @@ import 'package:wolf_3d_flutter/wolf_3d_flutter.dart';
|
||||
/// Displays every sprite frame in the active game along with enemy metadata.
|
||||
class SpriteGallery extends StatefulWidget {
|
||||
/// Shared application facade used to access the active game's sprite set.
|
||||
final Wolf3d wolf3d;
|
||||
final Wolf3dFlutterEngine wolf3d;
|
||||
|
||||
/// Creates the sprite gallery for [wolf3d].
|
||||
const SpriteGallery({super.key, required this.wolf3d});
|
||||
|
||||
@@ -9,7 +9,7 @@ import 'package:wolf_3d_flutter/wolf_3d_flutter.dart';
|
||||
/// Shows each VGA image extracted from the currently selected game data set.
|
||||
class VgaGallery extends StatefulWidget {
|
||||
/// Shared app facade used to access available game data sets.
|
||||
final Wolf3d wolf3d;
|
||||
final Wolf3dFlutterEngine wolf3d;
|
||||
|
||||
/// Creates the gallery for the currently selected or browsed game.
|
||||
const VgaGallery({super.key, required this.wolf3d});
|
||||
|
||||
Reference in New Issue
Block a user