16 lines
400 B
GDScript
16 lines
400 B
GDScript
class_name UIManager
|
|
extends Control
|
|
|
|
signal chat_message_submitted(message: String)
|
|
|
|
var on_ping_changed: Signal
|
|
var on_download_changed: Signal
|
|
var on_upload_changed: Signal
|
|
var on_message_received: Signal
|
|
|
|
func _enter_tree():
|
|
on_ping_changed = %Ping.changed
|
|
on_download_changed = %Client.download_changed
|
|
on_upload_changed = %Client.upload_changed
|
|
on_message_received = %Chat.message_received
|