feat: add final floor victory and deep generation scale
This commit is contained in:
@@ -0,0 +1,11 @@
|
||||
class_name VictoryPanel
|
||||
extends PanelContainer
|
||||
|
||||
@onready var body: RichTextLabel = $Body
|
||||
|
||||
func present(player_name: String, floor: int, level: int) -> void:
|
||||
visible = true
|
||||
body.text = "%s a vaincu le donjon.\n\nNiveau atteint : %d Étage final : %d\n\nLa foule acclame votre victoire." % [player_name, level, floor]
|
||||
|
||||
func get_display_text() -> String:
|
||||
return body.get_parsed_text()
|
||||
Reference in New Issue
Block a user