register Sprite, so we can construct sprites in XML like other objects
(Type="sprite") without setting a File, and then load the texture later.
This commit is contained in:
@@ -18,6 +18,7 @@
|
|||||||
|
|
||||||
// lua start
|
// lua start
|
||||||
LUA_REGISTER_CLASS( Sprite )
|
LUA_REGISTER_CLASS( Sprite )
|
||||||
|
REGISTER_ACTOR_CLASS( Sprite )
|
||||||
// lua end
|
// lua end
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user