Actor API增加完成
This commit is contained in:
@@ -27,8 +27,15 @@ class Window_hud extends GameWindow {
|
||||
* @returns {void}
|
||||
*/
|
||||
function OnMouseEvent(Type, Data, EventInteractiveFlag) {
|
||||
base.OnMouseEvent(Type, Data, EventInteractiveFlag)
|
||||
if(Type == UI_EVENT.MOUSEBUTTONDOWN) {
|
||||
base.OnMouseEvent(Type, Data, EventInteractiveFlag);
|
||||
if (Type == UI_EVENT.MOUSEBUTTONDOWN) {
|
||||
}
|
||||
}
|
||||
|
||||
/**
|
||||
* 重载ResetFoucus函数本窗口不需要改变焦点
|
||||
* @function
|
||||
* @returns {void}
|
||||
*/
|
||||
function ResetFoucus() {}
|
||||
}
|
||||
|
||||
@@ -17,6 +17,7 @@ class Window_NotiBox extends GameWindow {
|
||||
|
||||
function InitSprite() {
|
||||
local Sp = Sprite("sprite/hud/newantonui.img", 0);
|
||||
Sp.SetBlendMode(1);
|
||||
AddChild(Sp);
|
||||
|
||||
local Textobj = Text("测试文本",0,sq_RGBA(255,255,255,255));
|
||||
|
||||
Reference in New Issue
Block a user