[gd_scene load_steps=4 format=3 uid="uid://dqb5o8w7u50hc"] [ext_resource type="Script" uid="uid://dyhtr6g7kd1g2" path="res://UI/gui_button.gd" id="1_snobr"] [ext_resource type="Script" uid="uid://blnmjxmusrsa7" path="res://UI/GameStyleBoxFlat.gd" id="2_enkiu"] [sub_resource type="StyleBoxFlat" id="StyleBoxFlat_i47ne"] bg_color = Color(0.921569, 0.890196, 0.415686, 1) script = ExtResource("2_enkiu") color = 1 metadata/_custom_type_script = "uid://blnmjxmusrsa7" [node name="TowerButton" type="Button"] custom_minimum_size = Vector2(80, 80) offset_right = 80.0 offset_bottom = 80.0 size_flags_horizontal = 4 size_flags_vertical = 4 tooltip_text = "Sélectionner Pierre" mouse_default_cursor_shape = 2 script = ExtResource("1_snobr") hasEnergyBar = null metadata/_custom_type_script = "uid://dyhtr6g7kd1g2" [node name="TextureRect" type="TextureRect" parent="."] layout_mode = 1 anchors_preset = 15 anchor_right = 1.0 anchor_bottom = 1.0 grow_horizontal = 2 grow_vertical = 2 expand_mode = 1 [node name="EnergyBar" type="ProgressBar" parent="."] visible = false layout_mode = 0 offset_top = 70.0 offset_right = 80.0 offset_bottom = 80.0 theme_override_styles/fill = SubResource("StyleBoxFlat_i47ne") show_percentage = false [connection signal="toggled" from="." to="." method="buttonToggled"]