joeblox/world/killbrick.gd
Jeremy Baxter e6cbaba0fa player: add health callbacks
Allows us to update the HUD on health change
2026-01-22 21:25:16 +13:00

5 lines
86 B
GDScript

extends Area3D
func _on_body_entered(body: Node3D):
if body is Player:
body.die()