16 lines
294 B
Plaintext
16 lines
294 B
Plaintext
/*
|
|
文件名: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))
|
|
}
|
|
}
|