Improved UI event system
This commit is contained in:
7
client/ui/chat/Chat.gd
Normal file
7
client/ui/chat/Chat.gd
Normal file
@ -0,0 +1,7 @@
|
||||
class_name Chat
|
||||
extends VBoxContainer
|
||||
|
||||
signal message_submitted(message: String)
|
||||
|
||||
func add_message(message: String):
|
||||
%Messages.append_text(message + "\n")
|
Reference in New Issue
Block a user