branches and one texture
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user