[gd_scene load_steps=4 format=3 uid="uid://dawmen0hlfaaq"]

[ext_resource type="Script" uid="uid://cx3lpgmhrra8v" path="res://src/ui/menus/pause_menu/pause_menu.gd" id="1_43sid"]
[ext_resource type="Script" uid="uid://crdgxvb8i0cif" path="res://src/ui/menus/menu_base.gd" id="1_hcnxh"]
[ext_resource type="PackedScene" uid="uid://4s2nskkco0a2" path="res://src/ui/menus/options_menu/options_menu.tscn" id="3_hcnxh"]

[node name="PauseMenu" type="Node"]
process_mode = 3
script = ExtResource("1_43sid")

[node name="PauseMenu" type="Control" parent="." node_paths=PackedStringArray("focus_node")]
visible = false
layout_mode = 3
anchors_preset = 15
anchor_right = 1.0
anchor_bottom = 1.0
grow_horizontal = 2
grow_vertical = 2
script = ExtResource("1_hcnxh")
focus_node = NodePath("VBoxContainer/ContinueButton")
metadata/_custom_type_script = "uid://crdgxvb8i0cif"

[node name="Label" type="Label" parent="PauseMenu"]
layout_mode = 1
anchors_preset = 10
anchor_right = 1.0
offset_bottom = 23.0
grow_horizontal = 2
theme_override_font_sizes/font_size = 128
text = "Paused"
horizontal_alignment = 1

[node name="VBoxContainer" type="VBoxContainer" parent="PauseMenu"]
layout_mode = 1
anchors_preset = 8
anchor_left = 0.5
anchor_top = 0.5
anchor_right = 0.5
anchor_bottom = 0.5
offset_left = -20.0
offset_top = -20.0
offset_right = 20.0
offset_bottom = 20.0
grow_horizontal = 2
grow_vertical = 2

[node name="ContinueButton" type="Button" parent="PauseMenu/VBoxContainer"]
layout_mode = 2
text = "Continue"

[node name="SettingsButton" type="Button" parent="PauseMenu/VBoxContainer"]
layout_mode = 2
text = "Settings"

[node name="MainMenuButton" type="Button" parent="PauseMenu/VBoxContainer"]
layout_mode = 2
text = "Main Menu"

[node name="OptionsMenu" parent="." instance=ExtResource("3_hcnxh")]
visible = false

[connection signal="pressed" from="PauseMenu/VBoxContainer/ContinueButton" to="." method="_on_continue_button_pressed"]
[connection signal="pressed" from="PauseMenu/VBoxContainer/SettingsButton" to="." method="_on_settings_button_pressed"]
[connection signal="pressed" from="PauseMenu/VBoxContainer/MainMenuButton" to="." method="_on_main_menu_button_pressed"]
