1111
This commit is contained in:
15
UI/ObjectClass/Sprite.nut
Normal file
15
UI/ObjectClass/Sprite.nut
Normal 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))
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user