21 lines
483 B
Plaintext
21 lines
483 B
Plaintext
/*
|
|
文件名: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);
|
|
}
|
|
}
|