Files
gplan-2/game/presentation/ui_modals.gd
T

18 lines
858 B
GDScript
Raw Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
## 模态层域句柄册:三子容器(run=局内冒险域六句柄/menu=菜单与跨语境域六句柄/camp=营地域六句柄)
## 的纯字段容器——与 UiScreens/UiBattle 同型。
## 分域纪律全册化:任何模态句柄禁平铺回本册(营地先例条款推广)——子容器成员寻址一律 ui.modals.<域>.X 二段式。
## RefCounted 不挂树;模态登记唯一口=register_layer 已迁驻注册面 ui_registry(登记职责随编排域——
## ModalFlow 升格由 UiRegistry._init 直驻,本册无 flow 成员)。
class_name UiModals
extends RefCounted
var run: UiRunModals
var menu: UiMenuModals
var camp: UiCampModals
func _init() -> void:
run = UiRunModals.new()
menu = UiMenuModals.new()
camp = UiCampModals.new() # 营地域句柄子容器(分域纪律——营地域句柄禁平铺回本册)