[gd_scene load_steps=8 format=3 uid="uid://b4gugris5j5kd"]

[ext_resource type="Script" uid="uid://uq50svtj2muh" path="res://Scripts/Activables/BulletEmitter.cs" id="1_kaaee"]
[ext_resource type="Script" uid="uid://c6467d6yx50qh" path="res://Scripts/Components/BulletSpawner.cs" id="2_dj8i8"]
[ext_resource type="Texture2D" uid="uid://b6xatixd2u1wn" path="res://Sprites/Actors/WallEmitter.png" id="3_dj8i8"]
[ext_resource type="Script" uid="uid://cq3hkweplldbr" path="res://Scripts/Components/Actors/GenericDamageReceiver.cs" id="4_epfbp"]
[ext_resource type="PackedScene" uid="uid://b4hntn7l5c5ln" path="res://Scenes/Interactable/DestroyedWallEmitter.tscn" id="5_epfbp"]
[ext_resource type="Script" uid="uid://cqwvssstkrdmw" path="res://Scripts/Components/Actors/ActorResourceProvider.cs" id="6_xbljl"]

[sub_resource type="CircleShape2D" id="CircleShape2D_4awvh"]
radius = 3.0

[node name="BulletEmitter" type="Node2D"]
script = ExtResource("1_kaaee")
EmissionRotation = 90.0

[node name="BulletSpawner" type="Node2D" parent="."]
script = ExtResource("2_dj8i8")

[node name="Sprite2D" type="Sprite2D" parent="."]
texture = ExtResource("3_dj8i8")
hframes = 2

[node name="DamageReceiver" type="Area2D" parent="." node_paths=PackedStringArray("HealthProvider")]
collision_layer = 64
collision_mask = 136
script = ExtResource("4_epfbp")
HealthProvider = NodePath("Health")
BulletGroup = 2
Debris = ExtResource("5_epfbp")

[node name="CollisionShape2D" type="CollisionShape2D" parent="DamageReceiver"]
shape = SubResource("CircleShape2D_4awvh")

[node name="Health" type="Node2D" parent="DamageReceiver"]
script = ExtResource("6_xbljl")
ResourceName = "Health"

[connection signal="area_entered" from="DamageReceiver" to="DamageReceiver" method="_on_damage_hitbox_area_entered"]
