La-Torreta-del-Drac/scenes/dragon_list/dragon_list_entry.gd
2025-04-12 00:21:07 +02:00

15 lines
398 B
GDScript

extends Control
class_name DragonListEntry
@export var texture_rect: TextureRect
@export var name_label: Label
@export var origin_label: Label
@export var hat_outfits: DragonOutfit
@export var shirt_outfits: DragonOutfit
@export var shoes_outfits: DragonOutfit
func set_properties(properties: DragonProperties) -> void:
name_label.text = properties.name
origin_label.text = properties.origin