extends Node2D class_name PlantAttachBuilder @export var attach_types: Array[PlantAttach.AttachType] static func to_plant_attach(builder: PlantAttachBuilder) -> PlantAttach: var plant_attach := PlantAttach.new() plant_attach.position = builder.position plant_attach.attach_types = builder.attach_types return plant_attach