branches and one texture

This commit is contained in:
Altaezio
2026-02-13 11:18:34 +01:00
parent ab5089ad6c
commit e6d34a50a5
76 changed files with 359 additions and 1386 deletions

View File

@@ -14,7 +14,7 @@ enum PartType {BASE_PART, BRANCH_PART, LEAF_PART, FLOWER_PART}
@export var bottom_attachable: bool
@export var branch_attachable: bool
func _init(textute_arg: Texture, root_arg: Vector2, attaches_arg: Array[Vector2], bottom_attaches_arg: Array[Vector2], type_arg: PartType, is_back_arg: bool, base_attachable_arg: bool, bottom_attachable_arg: bool, branch_attachable_arg: bool) -> void:
func init(textute_arg: Texture, root_arg: Vector2, attaches_arg: Array[Vector2], bottom_attaches_arg: Array[Vector2], type_arg: PartType, is_back_arg: bool, base_attachable_arg: bool, bottom_attachable_arg: bool, branch_attachable_arg: bool) -> void:
texture = textute_arg
root = root_arg
attaches = attaches_arg