[gd_scene load_steps=5 format=3 uid="uid://fatu7toodye1"]

[ext_resource type="Script" path="res://node_2d.gd" id="1_6iai1"]
[ext_resource type="Texture2D" uid="uid://dbcr64i6ra4on" path="res://level/scene/spreits/icon.svg" id="2_0c2f5"]

[sub_resource type="RectangleShape2D" id="RectangleShape2D_853fv"]
size = Vector2(128, 128)

[sub_resource type="RectangleShape2D" id="RectangleShape2D_i7q4i"]
size = Vector2(107.355, 15.6667)

[node name="hamster" type="Node2D"]
script = ExtResource("1_6iai1")

[node name="Icon" type="Sprite2D" parent="."]
position = Vector2(500, 208)
scale = Vector2(1.9375, 1.875)
texture = ExtResource("2_0c2f5")

[node name="Area2D" type="Area2D" parent="." groups=["Gegner"]]
position = Vector2(500, 208)
scale = Vector2(1.9375, 1.875)

[node name="CollisionShape2D" type="CollisionShape2D" parent="Area2D"]
shape = SubResource("RectangleShape2D_853fv")

[node name="Area2D2" type="Area2D" parent="." groups=["tötung"]]
position = Vector2(500, 208)
scale = Vector2(1.9375, 1.875)

[node name="CollisionShape2D" type="CollisionShape2D" parent="Area2D2"]
position = Vector2(-2.06456, -68.2667)
shape = SubResource("RectangleShape2D_i7q4i")

[connection signal="body_entered" from="Area2D" to="." method="_on_area_2d_body_entered"]
[connection signal="area_entered" from="Area2D2" to="." method="_on_area_2d_2_area_entered"]
