鼠标框架完成 窗口事件框架完成

This commit is contained in:
2025-10-21 19:21:20 +08:00
parent 2686136f72
commit b16e8d7820
11 changed files with 378 additions and 66 deletions

View File

@@ -20,24 +20,23 @@ class WindowNode extends Actor {
//销毁Flag
DestroyFlag = false;
function _typeof() {
return "WindowNode"
return "WindowNode";
}
constructor() {
base.constructor()
base.constructor();
//子控件list初始化
Childrens = []
Childrens = [];
}
function SetVisible(Flag) {
Visible = Flag
Visible = Flag;
}
function AddChild(Act) {
base.AddChild(Act)
Childrens.push(Act)
if (!(Act instanceof WindowNode)) base.AddChild(Act);
Childrens.push(Act);
}
}