13 lines
303 B
GDScript
13 lines
303 B
GDScript
extends Node2D
|
|
|
|
class Connection:
|
|
var source: NodePath
|
|
var targets: Array[NodePath]
|
|
|
|
var guideline_points: Array[Node]
|
|
|
|
func _ready():
|
|
guideline_points = get_children().filter(func(c): return c is GuidelinePoint)
|
|
|
|
func _process(delta):
|
|
if get_child_count() == 0: get_parent().operation_succeeded()
|