2025-10-03 11:31:45 +02:00
|
|
|
class_name VineNode extends Node2D
|
2025-10-03 16:36:28 +02:00
|
|
|
|
|
|
|
|
@export var vine : Vine
|
|
|
|
|
@onready var grid : Grid = get_tree().get_root().get_node("main/Earth/Grid")
|
|
|
|
|
@export var location : Vector2
|
|
|
|
|
@export var offset : Vector2
|
2025-10-03 11:31:45 +02:00
|
|
|
|
|
|
|
|
func _ready() -> void:
|
2025-10-03 16:36:28 +02:00
|
|
|
position = grid.get_world_position(location, offset)
|