working with new sprites

This commit is contained in:
Altaezio
2026-02-18 18:25:43 +01:00
parent fb8a2da4ff
commit 35004684f4
100 changed files with 1244 additions and 951 deletions

View File

@@ -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