Give every script a class name and use it for typed references
The popups, the volume slider, the player name field and the main window get a class_name, so the main window and the quiz hold them by their real type instead of Control. The classes already use the names the files will get.
This commit is contained in:
1 parent
5831e1e73d
commit
b7d67b573e
15 files changed
+23
-10
No files matched your search
@@ -1,3 +1,4 @@
|
||||
class_name PlayerNameField
|
||||
extends TextEdit
|
||||
|
||||
signal enter_key_pressed
|
||||
|
||||
Reference in new issue
Block a user