Plants now based on entity class

This commit is contained in:
Rendo 2025-07-07 16:55:48 +05:00
commit 08d593175b
14 changed files with 38 additions and 65 deletions

View file

@ -28,12 +28,14 @@ blend_mode = 1
size = Vector2(33, 46)
[node name="Wallnut" instance=ExtResource("1_fluxn")]
_maxHP = 600
MaxHP = 600.0
_effectImmunities = Array[Resource]([])
[node name="Sprite2D" parent="." index="0"]
texture = ExtResource("2_o5tda")
hframes = 12
vframes = 3
frame = 3
[node name="AnimationPlayer" parent="." index="1"]
libraries = {