This commit is contained in:
2025-10-18 21:39:57 +08:00
parent ed376a4825
commit cfa9e279e5
11 changed files with 237 additions and 14 deletions

15
UI/ObjectClass/Sprite.nut Normal file
View File

@@ -0,0 +1,15 @@
/*
文件名:Sprite.nut
路径:UI/ObjectClass/Sprite.nut
创建日期:2025-10-18 19:51
文件用途:精灵类
*/
class Sprite extends Actor {
function _typeof() {
return "Sprite"
}
constructor(ImgPath, Idx) {
base.constructor(sq_CreateSprite(ImgPath, Idx))
}
}