14 lines
283 B
GDScript
14 lines
283 B
GDScript
|
class_name GameProfileItem
|
||
|
extends HBoxContainer
|
||
|
|
||
|
@onready var name_label: Label = %NameLabel
|
||
|
@onready var start_button: Button = %StartButton
|
||
|
|
||
|
var game_profile:GameProfile = null
|
||
|
|
||
|
func _ready() -> void:
|
||
|
if game_profile == null:
|
||
|
return
|
||
|
|
||
|
name_label.text = game_profile.game_name
|