29 lines
814 B
TypeScript
29 lines
814 B
TypeScript
import { EMPTY_HUD_PRESENTATION_STATE, type HudPresentationState } from './hudPresentationState'
|
|
import { EMPTY_MAP_PRESENTATION_STATE, type MapPresentationState } from './mapPresentationState'
|
|
|
|
export interface GameTargetingPresentationState {
|
|
punchableControlId: string | null
|
|
guidanceControlId: string | null
|
|
hudControlId: string | null
|
|
highlightedControlId: string | null
|
|
}
|
|
|
|
export interface GamePresentationState {
|
|
map: MapPresentationState
|
|
hud: HudPresentationState
|
|
targeting: GameTargetingPresentationState
|
|
}
|
|
|
|
export const EMPTY_GAME_PRESENTATION_STATE: GamePresentationState = {
|
|
map: EMPTY_MAP_PRESENTATION_STATE,
|
|
hud: EMPTY_HUD_PRESENTATION_STATE,
|
|
targeting: {
|
|
punchableControlId: null,
|
|
guidanceControlId: null,
|
|
hudControlId: null,
|
|
highlightedControlId: null,
|
|
},
|
|
}
|
|
|
|
|