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-11-16 21:40:22 +01:00
|
|
|
@onready var delete_button: Button = %DeleteButton
|
2024-10-11 18:40:40 +02:00
|
|
|
|
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
|