[gd_scene load_steps=7 format=2]

[ext_resource path="res://Hazards/Piranha/Piranha2.png" type="Texture" id=1]
[ext_resource path="res://Hazards/Piranha/Piranha1.png" type="Texture" id=2]
[ext_resource path="res://Hazards/Piranha/Piranha.gd" type="Script" id=3]

[sub_resource type="CapsuleShape2D" id=2]
height = 644.0

[sub_resource type="SpriteFrames" id=1]
animations = [ {
"frames": [ ExtResource( 2 ), ExtResource( 1 ) ],
"loop": true,
"name": "default",
"speed": 3.0
} ]

[sub_resource type="CircleShape2D" id=3]
radius = 515.097

[node name="Piranha" type="Node2D"]
script = ExtResource( 3 )

[node name="SwordPivot" type="Position2D" parent="."]
position = Vector2( 4, 1 )
rotation = 6.28319

[node name="Sword" type="Sprite" parent="SwordPivot"]

[node name="SwordHitbox" type="Area2D" parent="SwordPivot"]

[node name="StandinArt" type="Polygon2D" parent="SwordPivot/SwordHitbox"]
position = Vector2( -212, 8.00004 )
polygon = PoolVector2Array( 458, -9, 467, -28, 524, -29, 523, -56, 546, -56, 547, -32, 781, -29, 906, -8, 782, 12, 549, 10, 550, 37, 526, 37, 524, 10, 466, 10 )

[node name="CollisionShape2D" type="CollisionShape2D" parent="SwordPivot/SwordHitbox"]
position = Vector2( 344, -6.00815e-05 )
rotation = 1.5708
shape = SubResource( 2 )

[node name="AnimatedSprite" type="AnimatedSprite" parent="."]
position = Vector2( 67, -25 )
scale = Vector2( 0.5, 0.5 )
frames = SubResource( 1 )
playing = true

[node name="Blindzone" type="Area2D" parent="."]

[node name="CollisionShape2D" type="CollisionShape2D" parent="Blindzone"]
position = Vector2( 2, 5 )
shape = SubResource( 3 )

[connection signal="area_entered" from="SwordPivot/SwordHitbox" to="." method="_on_SwordHitbox_area_entered"]
