delurbelako/scripts/structure_behaviour.gd

7 lines
178 B
GDScript

@abstract
extends Node2D
class_name StructureBehaviour
@onready var structure_parent : Structure = get_parent()
@onready var inventory : Inventory = structure_parent.inventory