Allow cards with [string] parameters

This commit is contained in:
blinry 2020-11-10 22:20:40 +01:00
parent 4fa9b27354
commit d57674acca
4 changed files with 57 additions and 1 deletions

11
scripts/input_dialog.gd Normal file
View 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()