6 lines
80 B
GDScript

class_name Hit
var damage: float
func _init(_damage: float):
damage = _damage