ft: nucleotide prey FSM

This commit is contained in:
djaidjai committed 2026-01-26 23:54:15 +01:00
1 parent c11afd9ddd
commit adf1438bc8
18 files changed
+121 -45

No files matched your search

@@ -63,7 +63,7 @@ func _on_attack_hit(body: Node2D) -> void:
var hit_hittable = false
if body.is_in_group("prey") or body.is_in_group("predators"):
if body.has_method("handle_damage"):
body.handle_damage(damage)
body.handle_damage(damage, self)
hit_hittable = true
elif body.is_in_group("resources"):
pass
Reference in new issue
Block a user
Blocking a user prevents them from interacting with repositories, such as opening or commenting on pull requests or issues. Learn more about blocking a user.