extends Control func player_update(player: Player): $EnergyInfo/Label.text = str(player.energy)