[gd_scene load_steps=7 format=2]

[ext_resource path="res://UI/HUD/HUD.gd" type="Script" id=1]
[ext_resource path="res://UI/HUD/Keyring.png" type="Texture" id=2]
[ext_resource path="res://UI/Fonts/Font_huge.tres" type="DynamicFont" id=3]
[ext_resource path="res://UI/Fonts/Title_spooky.tres" type="DynamicFont" id=4]
[ext_resource path="res://UI/Fonts/Med_spooky.tres" type="DynamicFont" id=5]
[ext_resource path="res://UI/Fonts/Time.tres" type="DynamicFont" id=6]

[node name="HUD" type="Control"]
pause_mode = 2
anchor_right = 1.0
anchor_bottom = 1.0
script = ExtResource( 1 )
__meta__ = {
"_edit_use_anchors_": false
}

[node name="KeyRing" type="TextureRect" parent="."]
margin_left = -45.1899
margin_top = -48.7575
margin_right = 93.8101
margin_bottom = 91.2425
texture = ExtResource( 2 )
__meta__ = {
"_edit_use_anchors_": false
}

[node name="Margin" type="MarginContainer" parent="."]
anchor_right = 1.0
anchor_bottom = 1.0
margin_left = 20.0
margin_top = 20.0
margin_right = -20.0
margin_bottom = -20.0
__meta__ = {
"_edit_use_anchors_": false
}

[node name="Time" type="Control" parent="Margin"]
pause_mode = 1
margin_right = 984.0
margin_bottom = 560.0

[node name="ClockBack" type="ColorRect" parent="Margin/Time"]
anchor_left = 1.0
anchor_right = 1.0
margin_left = -120.0
margin_bottom = 50.0
rect_min_size = Vector2( 120, 50 )
size_flags_horizontal = 3
color = Color( 0, 0, 0, 1 )
__meta__ = {
"_edit_use_anchors_": false
}

[node name="ClockMargin" type="MarginContainer" parent="Margin/Time/ClockBack"]
anchor_right = 1.0
anchor_bottom = 1.0
margin_left = 5.0
margin_top = 5.0
margin_right = -5.0
margin_bottom = -5.0
__meta__ = {
"_edit_use_anchors_": false
}

[node name="Label" type="Label" parent="Margin/Time/ClockBack/ClockMargin"]
margin_right = 110.0
margin_bottom = 40.0
grow_horizontal = 0
grow_vertical = 0
size_flags_horizontal = 9
size_flags_vertical = 5
custom_fonts/font = ExtResource( 6 )
custom_colors/font_color = Color( 1, 0, 0, 1 )
text = "1:00"
align = 1
__meta__ = {
"_edit_use_anchors_": false
}

[node name="Timer" type="Timer" parent="Margin/Time"]
wait_time = 10.0
autostart = true

[node name="Keys" type="Control" parent="Margin"]
margin_right = 984.0
margin_bottom = 560.0
__meta__ = {
"_edit_use_anchors_": false
}

[node name="Label" type="Label" parent="Margin/Keys"]
margin_left = -17.1366
margin_top = 17.2438
margin_right = 38.8634
margin_bottom = 48.2438
rect_rotation = -45.0
custom_fonts/font = ExtResource( 5 )
custom_colors/font_color = Color( 0, 0, 0, 1 )
text = "Keys"
__meta__ = {
"_edit_use_anchors_": false
}

[node name="PauseMenu" type="ColorRect" parent="."]
pause_mode = 2
visible = false
anchor_right = 1.0
anchor_bottom = 1.0
color = Color( 0, 0, 0, 0.376471 )
__meta__ = {
"_edit_use_anchors_": false
}

[node name="Label" type="Label" parent="PauseMenu"]
anchor_right = 1.0
anchor_bottom = 1.0
custom_fonts/font = ExtResource( 3 )
text = "Paused"
align = 1
valign = 1

[node name="Resume" type="Button" parent="PauseMenu"]
anchor_left = 0.5
anchor_top = 0.5
anchor_right = 0.5
anchor_bottom = 0.5
margin_left = -87.5
margin_top = 53.0
margin_right = 87.5
margin_bottom = 121.0
size_flags_horizontal = 0
custom_fonts/font = ExtResource( 4 )
text = "Resume"
__meta__ = {
"_edit_use_anchors_": false
}

[connection signal="timeout" from="Margin/Time/Timer" to="." method="_on_Timer_timeout"]
[connection signal="pressed" from="PauseMenu/Resume" to="." method="_on_Resume_pressed"]
