online multiplayer chess game (note server currently down)
1
2
3
4
5
6
7
8
9
10
11
extends Label
class_name StatusLabel


func set_text(newtext: String, time := 7) -> void:
	show()
	text = newtext
	if time != 0:
		yield(get_tree().create_timer(time), "timeout")
		text = ""
		hide()