extends ProgressBar func on_hp_changed(to: int): value = to