[gd_scene load_steps=6 format=3 uid="uid://p6a6rb7sgeqd"]

[ext_resource type="Script" uid="uid://d2x8oy4os7ysn" path="res://UI/label_money.gd" id="1_cwd3r"]
[ext_resource type="Texture2D" uid="uid://nh6qxoglb4g3" path="res://Assets/Icones/cube.svg" id="1_epgl5"]
[ext_resource type="Script" uid="uid://dmcgoepvytnn" path="res://UI/cube_integrity.gd" id="2_sj6ny"]

[sub_resource type="StyleBoxFlat" id="StyleBoxFlat_nxmp4"]
bg_color = Color(0.180392, 0.180392, 0.180392, 0)
border_color = Color(0.099986, 0.099986, 0.0999859, 1)

[sub_resource type="StyleBoxFlat" id="StyleBoxFlat_epgl5"]
bg_color = Color(0.727498, 0.222072, 0.249347, 1)

[node name="GUI" type="Control"]
layout_mode = 3
anchors_preset = 15
anchor_right = 1.0
anchor_bottom = 1.0
grow_horizontal = 2
grow_vertical = 2

[node name="VBox" type="VBoxContainer" parent="."]
layout_mode = 1
anchors_preset = 12
anchor_top = 1.0
anchor_right = 1.0
anchor_bottom = 1.0
offset_top = -32.0
grow_horizontal = 2
grow_vertical = 0

[node name="HBox" type="HBoxContainer" parent="VBox"]
layout_mode = 2
alignment = 1

[node name="LabelMoney" type="Label" parent="VBox/HBox"]
layout_mode = 2
size_flags_vertical = 1
text = "Money :"
vertical_alignment = 2
script = ExtResource("1_cwd3r")

[node name="Margin" type="MarginContainer" parent="VBox/HBox"]
layout_mode = 2
size_flags_horizontal = 3

[node name="CubeIcon" type="TextureButton" parent="VBox/HBox"]
custom_minimum_size = Vector2(50, 50)
layout_mode = 2
size_flags_horizontal = 4
texture_normal = ExtResource("1_epgl5")
texture_pressed = ExtResource("1_epgl5")
texture_hover = ExtResource("1_epgl5")
texture_disabled = ExtResource("1_epgl5")
texture_focused = ExtResource("1_epgl5")
ignore_texture_size = true
stretch_mode = 0

[node name="Margin2" type="MarginContainer" parent="VBox/HBox"]
layout_mode = 2
size_flags_horizontal = 3

[node name="LabelTeam" type="Label" parent="VBox/HBox"]
layout_mode = 2
size_flags_vertical = 1
text = "actif/total"
vertical_alignment = 2

[node name="CubeIntegrity" type="ProgressBar" parent="VBox"]
custom_minimum_size = Vector2(0, 5)
layout_mode = 2
theme_override_styles/background = SubResource("StyleBoxFlat_nxmp4")
theme_override_styles/fill = SubResource("StyleBoxFlat_epgl5")
value = 50.0
show_percentage = false
script = ExtResource("2_sj6ny")
