working with new sprites
This commit is contained in:
@@ -0,0 +1,10 @@
|
||||
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
|
||||
Reference in New Issue
Block a user