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