feat: windows moving
This commit is contained in:
parent
f32dd932f6
commit
a0a746008e
4 changed files with 44 additions and 1 deletions
|
@ -30,5 +30,10 @@ func move_window_to_bottom_right():
|
|||
|
||||
func _unhandled_input(event: InputEvent) -> void:
|
||||
if event.is_action_pressed("ui_accept"):
|
||||
var dragon = _instantiator.instantiate()
|
||||
var dragon: Dragon = _instantiator.instantiate()
|
||||
dragon.place_back.connect(_dragon_place_back)
|
||||
add_child(dragon)
|
||||
|
||||
|
||||
func _dragon_place_back(dragon: Dragon):
|
||||
print(dragon)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue