Enemy state machine

This commit is contained in:
Marco 2025-03-20 18:22:40 +01:00
commit ef6c240e8e
37 changed files with 545 additions and 36 deletions

View file

@ -37,7 +37,6 @@ shape = SubResource("CircleShape2D_4awvh")
[node name="Health" type="Node2D" parent="DamageReceiver"]
script = ExtResource("6_6dpsy")
ResourceName = "Health"
MaxResource = 4.0
[connection signal="StateChanged" from="." to="Sprite2D" method="ChangeState"]
[connection signal="StateChanged" from="." to="DamageReceiver" method="ChangeState"]