{
  "schemaVersion": 1,
  "atomId": "top_ui_bar.aicomponent",
  "bundleType": "aicomponent",
  "category": "component",
  "mode": "fixed",
  "label": { "zh": "顶部 UI 条", "en": "Top UI bar" },
  "tags": ["ui", "top-bar", "lives", "timer", "progress", "phaser"],
  "bindingRoles": ["topUiBar"],
  "scaffold": {
    "files": {
      "src/game/scenes/GameUI/GameTopUI.ts": { "source": "ref/GameTopUI.ts", "mode": "full", "weight": 10 }
    }
  },
  "imports": [
    { "slot": "engine", "pinAtomId": "phaser.aicomponent",               "edgeKind": "requires", "bindAs": "engine" },
    { "slot": "layout", "pinAtomId": "responsive_2d_layout.aicomponent", "edgeKind": "requires", "bindAs": "layout" }
  ],
  "exports": [
    { "name": "GameTopUI",             "kind": "class",    "location": "src/game/scenes/GameUI/GameTopUI.ts" },
    { "name": "GAME_TOP_UI_BAR_HEIGHT","kind": "constant", "location": "src/game/scenes/GameUI/GameTopUI.ts" }
  ],
  "neutralDescriptor": {
    "geometry": "horizontal UI bar at the top of the screen containing lives indicator, countdown timer, and progress bar sub-components"
  },
  "files": { "skill": "SKILL.md", "gameTopUI": "ref/GameTopUI.ts" }
}
