/* 文件名:WindowNode.nut 路径:UI/ObjectClass/WindowNode.nut 创建日期:2025-10-18 20:54 文件用途:窗口节点类 */ class WindowNode extends Actor { //演出状态 PerformanceState = false; //子控件 Childrens = null; //刷新函数 UpdateFunc = null; //是否可见 Visible = true; //宽度 Width = null; //高度 Height = null; //销毁Flag DestroyFlag = false; function _typeof() { return "WindowNode"; } constructor() { base.constructor(); //子控件list初始化 Childrens = []; } function SetVisible(Flag) { Visible = Flag; } function AddChild(Act) { if (!(Act instanceof WindowNode)) base.AddChild(Act); Childrens.push(Act); } }