summaryrefslogtreecommitdiff
path: root/UI/lobby_setting.gd
diff options
context:
space:
mode:
Diffstat (limited to 'UI/lobby_setting.gd')
-rw-r--r--UI/lobby_setting.gd26
1 files changed, 0 insertions, 26 deletions
diff --git a/UI/lobby_setting.gd b/UI/lobby_setting.gd
deleted file mode 100644
index a5b9e7e..0000000
--- a/UI/lobby_setting.gd
+++ /dev/null
@@ -1,26 +0,0 @@
-extends HBoxContainer
-
-
-signal value_changed(value: String)
-
-var label := "":
- set(value):
- $Label.text = str(value)
- name = str(value)
- get():
- return $Label.text
-
-var value: Variant = "":
- set(value):
- $TextEdit.text = str(value)
- get():
- return $TextEdit.text
-
-var disabled := false:
- set(value):
- disabled = value
- $TextEdit.editable = !disabled
-
-
-func _on_text_edit_text_changed(new_text: String) -> void:
- value_changed.emit(new_text)