diff --git a/scenes/game.tscn b/scenes/game.tscn index 56c92eb..fb89615 100644 --- a/scenes/game.tscn +++ b/scenes/game.tscn @@ -1,8 +1,9 @@ -[gd_scene load_steps=4 format=3 uid="uid://dyxwp5rnxiff7"] +[gd_scene load_steps=5 format=3 uid="uid://dyxwp5rnxiff7"] [ext_resource type="Script" path="res://scenes/game.gd" id="1_cdtng"] [ext_resource type="PackedScene" uid="uid://7ux0cl08c2ho" path="res://scenes/peernode_directory.tscn" id="1_p0gju"] [ext_resource type="PackedScene" uid="uid://d3jo4swi2c7ae" path="res://scenes/playernode_directory.tscn" id="2_pvlqw"] +[ext_resource type="PackedScene" uid="uid://dc8pe5dnk8kbv" path="res://scenes/phase_tracker.tscn" id="4_kab4c"] [node name="Game" type="Node"] script = ExtResource("1_cdtng") @@ -11,6 +12,8 @@ script = ExtResource("1_cdtng") [node name="PlayerNodeDirectory" parent="." instance=ExtResource("2_pvlqw")] +[node name="PhaseTracker" parent="." instance=ExtResource("4_kab4c")] + [connection signal="child_entered_tree" from="PeerNodeDirectory" to="." method="_on_peerdir_peernode_created"] [connection signal="child_exiting_tree" from="PeerNodeDirectory" to="." method="_on_peerdir_peernode_destroyed"] [connection signal="peernode_identified" from="PeerNodeDirectory" to="." method="_on_peerdir_peernode_identified"]