[gd_scene format=3 uid="uid://cy7r0udfcsqbn"]

[ext_resource type="Theme" uid="uid://dx26d6py3n8xi" path="res://resources/main_ui_theme.tres" id="1_2ro41"]
[ext_resource type="Script" path="res://scripts/combat_ui.gd" id="2_ui_script"]

[node name="CombatUI" type="CanvasLayer" unique_id=1093388037]
script = ExtResource("2_ui_script")

[node name="UnitPanel" type="PanelContainer" parent="." unique_id=2000000001]
unique_name_in_owner = true
visible = false
anchors_preset = 2
anchor_top = 1.0
anchor_bottom = 1.0
offset_left = 8.0
offset_top = -78.0
offset_right = 208.0
offset_bottom = -8.0
grow_vertical = 0
theme = ExtResource("1_2ro41")

[node name="MarginContainer" type="MarginContainer" parent="UnitPanel"]
layout_mode = 2
theme_override_constants/margin_left = 8
theme_override_constants/margin_top = 8
theme_override_constants/margin_right = 8
theme_override_constants/margin_bottom = 8

[node name="VBoxContainer" type="VBoxContainer" parent="UnitPanel/MarginContainer"]
layout_mode = 2

[node name="NameLabel" type="Label" parent="UnitPanel/MarginContainer/VBoxContainer" unique_id=2000000002]
unique_name_in_owner = true
layout_mode = 2
text = "Unit"

[node name="HPBar" type="ProgressBar" parent="UnitPanel/MarginContainer/VBoxContainer" unique_id=2000000003]
unique_name_in_owner = true
layout_mode = 2
max_value = 100.0
value = 100.0
show_percentage = false
