summaryrefslogtreecommitdiff
path: root/Scenes/UIController.gd
blob: 1599d0324835ceb7db96b125a3727fd7b4f2e9a9 (plain)
1
2
3
4
5
6
7
8
extends CanvasLayer

func _ready():
	Global.connect("update_ui", self, "_on_update_ui")
	_on_update_ui()

func _on_update_ui():
	$NumberOfTurns.text = "Number of turns: %d" % Global.turns