Files
cmr-mini/miniprogram/game/presentation/hudPresentationState.ts

22 lines
579 B
TypeScript

export interface HudPresentationState {
actionTagText: string
distanceTagText: string
hudTargetControlId: string | null
progressText: string
punchableControlId: string | null
punchButtonEnabled: boolean
punchButtonText: string
punchHintText: string
}
export const EMPTY_HUD_PRESENTATION_STATE: HudPresentationState = {
actionTagText: '目标',
distanceTagText: '点距',
hudTargetControlId: null,
progressText: '0/0',
punchableControlId: null,
punchButtonEnabled: false,
punchButtonText: '打点',
punchHintText: '等待进入检查点范围',
}