stopSound

This commit is contained in:
2022-01-09 18:48:10 -07:00
parent 970c5bc76d
commit a6f13510be

View File

@@ -228,6 +228,9 @@
(sound.play)
(unless waitForEnd (cc)))
(method :Void stopSound [:FlxSound sound]
(sound.stop))
(var DELAY_BETWEEN_VOICE_TRACKS 0.1)
(prop :Map<FlxSound,Function> restoreOriginalVolumes (new Map))
(method :Void playVoiceTrack [:FlxSound track :Float volumeMod :Float start :Float end :Continuation cc]