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

[ext_resource type="PackedScene" uid="uid://eqo7k2ronf8k" path="res://scenes/areas/damageArea/damageArea.tscn" id="1_5f68y"]
[ext_resource type="Script" uid="uid://w5vknsebe1yd" path="res://scenes/bullet/bullet.gd" id="1_mkndb"]

[sub_resource type="RectangleShape2D" id="RectangleShape2D_mkndb"]
size = Vector2(16, 48)

[node name="Bullet" type="CharacterBody2D" groups=["bullet"]]
collision_layer = 0
collision_mask = 0
script = ExtResource("1_mkndb")

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

[node name="Sprite2D" type="Sprite2D" parent="."]
position = Vector2(0, -9.53674e-07)

[node name="rangeTimer" type="Timer" parent="."]
one_shot = true

[node name="DamageArea" parent="." instance=ExtResource("1_5f68y")]

[node name="CollisionShape2D" parent="DamageArea" index="0"]
shape = SubResource("RectangleShape2D_mkndb")

[connection signal="timeout" from="rangeTimer" to="." method="_on_range_timer_timeout"]
[connection signal="area_entered" from="DamageArea" to="." method="_on_damage_area_area_entered"]

[editable path="DamageArea"]
