import type { OverlayPanel } from '../types'; import type { GameAction, GameView } from '@tinywaste/game-core'; import { getActiveQuestCount, getCurrentPlace, getDominantAlert, getSupplyCounts } from '../hudModel'; export function BottomDock({ activePanel, onOpenPanel, onSendAction, view, }: { activePanel: OverlayPanel | null; onOpenPanel: (panel: OverlayPanel) => void; onSendAction: (action: GameAction) => void; view: GameView; }) { const supplyCounts = getSupplyCounts(view); const activeQuestCount = getActiveQuestCount(view); const currentPlace = getCurrentPlace(view); const homeRoute = view.map.edges.find((edge) => edge.to === 'home'); const dominantAlert = getDominantAlert(view); return ( ); }