From 9dd74c154c806e9e0c695c329e9382f37bfc4015 Mon Sep 17 00:00:00 2001 From: Stefano Pigozzi Date: Sun, 14 Apr 2024 00:23:03 +0200 Subject: [PATCH] `Hunter`: move logging to signals --- behaviours/hunter.tscn | 2 ++ 1 file changed, 2 insertions(+) diff --git a/behaviours/hunter.tscn b/behaviours/hunter.tscn index 1fe15b7..f206d8c 100644 --- a/behaviours/hunter.tscn +++ b/behaviours/hunter.tscn @@ -14,5 +14,7 @@ script = ExtResource("1_3bmd5") shape = SubResource("CircleShape2D_kxb8e") debug_color = Color(1, 0, 0, 0.419608) +[connection signal="tracked" from="." to="." method="_on_tracked"] +[connection signal="untracked" from="." to="." method="_on_untracked"] [connection signal="body_entered" from="DetectionArea" to="." method="_on_detection_area_body_entered"] [connection signal="body_exited" from="DetectionArea" to="." method="_on_detection_area_body_exited"]