more work on the ui theme and changing the hud

This commit is contained in:
2025-11-05 08:28:07 +11:00
parent 2f4159ebbe
commit f257a5df68
187 changed files with 806 additions and 799 deletions

View File

@@ -0,0 +1,21 @@
class_name FeatureUI
extends VBoxContainer
@export var icon: TextureRect
@export var name_label: Label
var feature: Feature
func set_feature(new_feature: Feature) -> void:
feature = new_feature
icon.texture = feature.icon
name_label.text = tr(feature.display_name)
func show_title() -> void:
name_label.visible = true
func hide_title() -> void:
name_label.visible = false