鼠标框架完成 窗口事件框架完成
This commit is contained in:
@@ -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);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user