2024-04-15 20:32:22 +00:00
|
|
|
[gd_scene load_steps=2 format=3 uid="uid://ctpn4hvkhxoi3"]
|
2024-04-13 21:56:57 +00:00
|
|
|
|
|
|
|
[ext_resource type="Script" path="res://behaviours/hunter.gd" id="1_3bmd5"]
|
2024-04-13 21:56:22 +00:00
|
|
|
|
|
|
|
[node name="Hunter" type="Node2D"]
|
2024-04-13 21:56:57 +00:00
|
|
|
script = ExtResource("1_3bmd5")
|
2024-04-13 21:56:22 +00:00
|
|
|
|
|
|
|
[node name="DetectionArea" type="Area2D" parent="."]
|
2024-04-14 18:57:25 +00:00
|
|
|
collision_layer = 0
|
|
|
|
collision_mask = 24
|
|
|
|
monitorable = false
|
2024-04-13 21:56:22 +00:00
|
|
|
|
2024-04-13 22:23:03 +00:00
|
|
|
[connection signal="tracked" from="." to="." method="_on_tracked"]
|
|
|
|
[connection signal="untracked" from="." to="." method="_on_untracked"]
|
2024-04-13 21:56:57 +00:00
|
|
|
[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"]
|