the-crypt/script/WandManager.gd
2020-07-18 15:58:23 -05:00

13 lines
239 B
GDScript

extends Position2D
onready var parent = get_parent()
onready var inv = parent.Inventory
func clear_conduit():
for c in get_children():
c.queue_free()
func set_current_conduit(conduit):
clear_conduit()
add_child(conduit.instance())