brackeys-12/buildings/building.gd
2024-09-08 21:17:35 -04:00

12 lines
219 B
GDScript

extends Node2D
@onready var sprite_2d: Sprite2D = $Sprite2D
var key
@onready var data = Data.data.buildings[key]
#@onready var image = Data.data.images[key]
func _ready() -> void:
#sprite_2d.texture = image
pass