extends Area2D signal hit(entity: int) func attack(damage): for i in get_overlapping_areas(): i.hit(damage)