import { content } from '../content'; import { gameRuntime } from '../state/runtime'; import { useGameStore } from '../state/store'; /** Action list — a start button per action, with a progress bar on the active one. */ export function ActionPanel() { const activeActionId = useGameStore((state) => state.activeActionId); const actionProgress = useGameStore((state) => state.actionProgress); return (

Actions

{content.actions.map((action) => { const isActive = action.id === activeActionId; return ( ); })}
); }