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

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

@@ -0,0 +1,20 @@
/*
文件名:Window_hud.nut
路径:UI/Windows/HUD/Window_hud.nut
创建日期:2025-10-19 20:36
文件用途:
*/
class Window_hud extends GameWindow {
constructor(Name, gX, gY, gWidth, gHeight, gTitleHeight) {
base.constructor(Name, gX, gY, gWidth, gHeight, gTitleHeight);
InitSprite();
}
function InitSprite() {
local Sp = Sprite("sprite/interface2/hud/hud.img", 0);
Sp.SetPos((1280 - 403) / 2, 720 - 75);
AddChild(Sp);
}
}