one component to rule them all

This commit is contained in:
2023-10-05 22:41:54 +02:00
parent dffda5cce3
commit 2787adb648
3 changed files with 33 additions and 0 deletions

View File

@@ -12,4 +12,5 @@ var texture: Texture = null
func _init(p_item: ESCItem) -> void:
global_id = p_item.global_id
texture = p_item._get_inventory_texture()
p_item.register_components()