aboutsummaryrefslogtreecommitdiff
path: root/scripts/gui.gd
blob: bae4ffcdc2d0ce9425e9b9c839360250ef1c1161 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
extends Panel

var _player
var _label

func _ready():
	_player = self.get_parent().get_parent().find_node("player")
	_label = self.find_node("Label")

func _process(delta):
	_label.text = str(_player.sel_map[_player.sel])