17 lines
335 B
Plaintext
17 lines
335 B
Plaintext
/*
|
|
文件名:Sprite.nut
|
|
路径:UI/ObjectClass/Sprite.nut
|
|
创建日期:2025-10-18 19:51
|
|
文件用途:精灵类
|
|
*/
|
|
class Sprite extends Actor {
|
|
function _typeof() {
|
|
return "Sprite"
|
|
}
|
|
|
|
constructor(ImgPath, Idx) {
|
|
C_Object = sq_CreateSprite(ImgPath, Idx);
|
|
sq_RegisterDestruction(C_Object,this);
|
|
}
|
|
}
|