mirror of
https://github.com/git-learning-game/oh-my-git.git
synced 2025-05-01 20:42:01 +02:00
Allow cards with [string] parameters
This commit is contained in:
parent
4fa9b27354
commit
d57674acca
4 changed files with 57 additions and 1 deletions
scripts
11
scripts/input_dialog.gd
Normal file
11
scripts/input_dialog.gd
Normal file
|
@ -0,0 +1,11 @@
|
|||
extends WindowDialog
|
||||
|
||||
signal entered(text)
|
||||
|
||||
func _text_entered(text):
|
||||
emit_signal("entered", text)
|
||||
queue_free()
|
||||
|
||||
func _notification(what):
|
||||
if what == Popup.NOTIFICATION_POST_POPUP:
|
||||
$LineEdit.grab_focus()
|
Loading…
Add table
Add a link
Reference in a new issue