class_name PlayerStats extends Node signal damaged @export var health: int = 6 func damage() -> void: health -= 1 damaged.emit()