完善地图交互、动画与罗盘调试
This commit is contained in:
@@ -1,6 +1,7 @@
|
||||
import { DEFAULT_GAME_AUDIO_CONFIG, type GameAudioConfig } from '../audio/audioConfig'
|
||||
import { SoundDirector } from '../audio/soundDirector'
|
||||
import { type GameEffect } from '../core/gameResult'
|
||||
import { type AnimationLevel } from '../../utils/animationLevel'
|
||||
import {
|
||||
DEFAULT_GAME_HAPTICS_CONFIG,
|
||||
DEFAULT_GAME_UI_EFFECTS_CONFIG,
|
||||
@@ -41,6 +42,9 @@ export class FeedbackDirector {
|
||||
|
||||
reset(): void {
|
||||
this.soundDirector.resetContexts()
|
||||
this.uiEffectDirector.clearPunchButtonMotion()
|
||||
this.uiEffectDirector.clearHudProgressMotion()
|
||||
this.uiEffectDirector.clearHudDistanceMotion()
|
||||
}
|
||||
|
||||
destroy(): void {
|
||||
@@ -49,6 +53,10 @@ export class FeedbackDirector {
|
||||
this.uiEffectDirector.destroy()
|
||||
}
|
||||
|
||||
setAnimationLevel(level: AnimationLevel): void {
|
||||
this.uiEffectDirector.setAnimationLevel(level)
|
||||
}
|
||||
|
||||
setAppAudioMode(mode: 'foreground' | 'background'): void {
|
||||
this.soundDirector.setAppAudioMode(mode)
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user