added Graphics and sound Effects and more overhauls

This commit is contained in:
Exobyt 2025-08-03 20:56:32 +02:00
parent c887a2168c
commit b9d4288900
214 changed files with 3378 additions and 198 deletions

View file

@ -0,0 +1,17 @@
class_name Choice extends MarginContainer
@onready var nameLabel = $VBoxContainer/nameLabel
@onready var description = $VBoxContainer/description
var option: int
signal selected(_option: int)
func setValues(_text: String, _description: String, _option: int) -> void:
nameLabel.text = _text
description.text = _description
option = _option
func _on_button_pressed() -> void:
get_tree().paused = false
selected.emit(option)