16 lines
400 B
GDScript3
Raw Normal View History

2024-01-28 21:08:08 +00:00
class_name UIManager
2024-01-25 11:10:29 +00:00
extends Control
2024-01-28 21:08:08 +00:00
signal chat_message_submitted(message: String)
2024-01-25 11:10:29 +00:00
var on_ping_changed: Signal
2024-01-26 18:00:59 +00:00
var on_download_changed: Signal
var on_upload_changed: Signal
2024-01-28 21:08:08 +00:00
var on_message_received: Signal
2024-01-25 11:10:29 +00:00
func _enter_tree():
2024-01-26 18:00:59 +00:00
on_ping_changed = %Ping.changed
on_download_changed = %Client.download_changed
on_upload_changed = %Client.upload_changed
2024-01-28 21:08:08 +00:00
on_message_received = %Chat.message_received