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

[ext_resource type="Script" path="res://scripts/entry.gd" id="1_1ghng"]
[ext_resource type="Script" path="res://scripts/network_manager.gd" id="1_iufb2"]
[ext_resource type="PackedScene" uid="uid://n5t5ahafwaln" path="res://npc.tscn" id="3_wcc1l"]

[node name="Entry" type="Node2D"]
script = ExtResource("1_1ghng")

[node name="NetworkManager" type="Node" parent="."]
script = ExtResource("1_iufb2")

[node name="NPC" parent="." instance=ExtResource("3_wcc1l")]

[node name="CanvasLayer" type="CanvasLayer" parent="."]

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

[node name="Host" type="Button" parent="CanvasLayer/Control"]
layout_mode = 0
offset_right = 8.0
offset_bottom = 8.0
text = "Host"

[node name="Join" type="Button" parent="CanvasLayer/Control"]
layout_mode = 1
anchors_preset = 5
anchor_left = 0.5
anchor_right = 0.5
offset_left = -4.0
offset_right = 4.0
offset_bottom = 8.0
grow_horizontal = 2
text = "Join"

[node name="Quit" type="Button" parent="CanvasLayer/Control"]
layout_mode = 1
anchors_preset = 1
anchor_left = 1.0
anchor_right = 1.0
offset_left = -8.0
offset_bottom = 8.0
grow_horizontal = 0
text = "Quit"

[connection signal="button_down" from="CanvasLayer/Control/Host" to="." method="_on_host_button_down"]
[connection signal="button_down" from="CanvasLayer/Control/Join" to="." method="_on_join_button_down"]
[connection signal="button_down" from="CanvasLayer/Control/Quit" to="." method="_on_quit_button_down"]
