✨ Ebb and flow
This commit is contained in:
18
scenes/manager/statistics.tscn
Normal file
18
scenes/manager/statistics.tscn
Normal file
@ -0,0 +1,18 @@
|
||||
[gd_scene load_steps=2 format=3 uid="uid://2tqfm73cc4id"]
|
||||
|
||||
[ext_resource type="Script" path="res://scripts/statistics.gd" id="1_4fj6w"]
|
||||
|
||||
[node name="Statistics" type="Node" node_paths=PackedStringArray("wave_timer", "wave_gap_timer")]
|
||||
script = ExtResource("1_4fj6w")
|
||||
wave_timer = NodePath("WaveTimer")
|
||||
wave_gap_timer = NodePath("WaveGapTimer")
|
||||
|
||||
[node name="WaveTimer" type="Timer" parent="."]
|
||||
wait_time = 10.0
|
||||
one_shot = true
|
||||
|
||||
[node name="WaveGapTimer" type="Timer" parent="."]
|
||||
one_shot = true
|
||||
|
||||
[connection signal="timeout" from="WaveTimer" to="." method="_on_wave_passed"]
|
||||
[connection signal="timeout" from="WaveGapTimer" to="." method="_on_wave_gap_passed"]
|
Reference in New Issue
Block a user