19 lines
462 B
GDScript
19 lines
462 B
GDScript
class_name UIManager
|
|
extends Control
|
|
|
|
signal chat_message_submitted(message: String)
|
|
|
|
var ping_changed: Signal
|
|
var download_changed: Signal
|
|
var upload_changed: Signal
|
|
var message_received: Signal
|
|
var login: Signal
|
|
var logout: Signal
|
|
|
|
func _enter_tree():
|
|
ping_changed = %Ping.changed
|
|
download_changed = %Client.download_changed
|
|
upload_changed = %Client.upload_changed
|
|
message_received = %Chat.message_received
|
|
login = %Login.success
|
|
logout = %Logout.success |