9 lines
133 B
GDScript3
9 lines
133 B
GDScript3
|
extends Node
|
||
|
|
||
|
signal fight_done
|
||
|
|
||
|
func _process(delta):
|
||
|
print(get_children())
|
||
|
if get_child_count() < 2:
|
||
|
emit_signal("fight_done")
|