using Cthangover.Core.UI;
using Cthangover.Core.UI.Theming;
using Godot;
using Cthangover.Mods.Interface.Base.Lists;
using Cthangover.Mods.Interface.Theming;
namespace Cthangover.FFBattle.UI
{
///
/// Top-left battle HUD: title, phase badge and the round / roster counters.
/// The node tree comes from scenes/ff_battle_hud.tscn; this class only
/// fetches nodes, dresses them with styles and exposes
/// narrow setters so never assembles controls by
/// hand. The phase badge reuses the type-accent palette: blue for the player
/// turn, red for the enemy turn.
///
public partial class FFBattleHud : ModWidget
{
private Label _title;
private PanelContainer _phaseBadge;
private Label _phaseLabel;
private Label _roundValue;
private Label _enemiesValue;
private Label _alliesValue;
/// Builds the FF battle HUD frame: command menu host, speed control and log toggle.
protected override void Construct()
{
CthangoverTheme.Apply(this);
_title = GetNode