12 lines
219 B
GDScript
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
|