bind SortByDrawOrder

This commit is contained in:
Glenn Maynard
2007-05-03 21:17:33 +00:00
parent 3d4e86c241
commit ac37c50317
+2
View File
@@ -507,6 +507,7 @@ public:
p->SetUpdateFunction( ref ); p->SetUpdateFunction( ref );
return 0; return 0;
} }
static int SortByDrawOrder( T* p, lua_State *L ) { p->SortByDrawOrder(); return 0; }
LunaActorFrame() LunaActorFrame()
{ {
@@ -526,6 +527,7 @@ public:
ADD_METHOD( SetDrawFunction ); ADD_METHOD( SetDrawFunction );
ADD_METHOD( GetDrawFunction ); ADD_METHOD( GetDrawFunction );
ADD_METHOD( SetUpdateFunction ); ADD_METHOD( SetUpdateFunction );
ADD_METHOD( SortByDrawOrder );
} }
}; };