2024-10-11 18:40:40 +02:00
|
|
|
class_name GameProfileItem
|
|
|
|
extends HBoxContainer
|
|
|
|
|
|
|
|
@onready var name_label: Label = %NameLabel
|
|
|
|
@onready var start_button: Button = %StartButton
|
|
|
|
|
2024-10-18 12:01:15 +02:00
|
|
|
var game_profile:GameProfileResource = null
|
2024-10-11 18:40:40 +02:00
|
|
|
|
|
|
|
func _ready() -> void:
|
|
|
|
if game_profile == null:
|
|
|
|
return
|
|
|
|
|
|
|
|
name_label.text = game_profile.game_name
|