class_name Slime extends Area2D signal playerDamageSignal func _on_body_entered(body: Node2D) -> void: print("Bad guy contact") playerDamageSignal.emit(body, self)