Play (wrong) door sound effect when the door opens or closes
Signed-off-by: Hans Kokx <hans.d.kokx@gmail.com>
This commit is contained in:
@@ -12,4 +12,34 @@ class FlutterAudioAdapter implements EngineAudio {
|
||||
void stopMusic() {
|
||||
Wolf3d.I.audio.stopMusic();
|
||||
}
|
||||
|
||||
@override
|
||||
void playSoundEffect(int sfxId) {
|
||||
Wolf3d.I.audio.playSoundEffect(sfxId);
|
||||
}
|
||||
|
||||
@override
|
||||
void playMenuMusic() {
|
||||
Wolf3d.I.audio.playMenuMusic();
|
||||
}
|
||||
|
||||
@override
|
||||
Future<void> init() async {
|
||||
await Wolf3d.I.audio.init();
|
||||
}
|
||||
|
||||
@override
|
||||
void dispose() {
|
||||
Wolf3d.I.audio.dispose();
|
||||
}
|
||||
|
||||
@override
|
||||
WolfensteinData? get activeGame => Wolf3d.I.activeGame;
|
||||
|
||||
@override
|
||||
set activeGame(WolfensteinData? value) {
|
||||
if (value != null) {
|
||||
Wolf3d.I.setActiveGame(value);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user