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_REGISTER_CLASS( Sprite )
|
||||
REGISTER_ACTOR_CLASS( Sprite )
|
||||
// lua end
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user