5 lines
117 B
GDScript
5 lines
117 B
GDScript
extends Control
|
|
|
|
func _on_root_gui_player_stats_updated(player:Player):
|
|
$EnergyInfo/Label.text = str(player.energy)
|