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


func set_text(newtext: String, time := 7) -> void:
	print("set to ", newtext)
	text = newtext
	yield(get_tree().create_timer(time), "timeout")
	text = ""