Add ResetSelection binding to MusicWheel, add MusicWheel to Luadocs

This commit is contained in:
Flameshadowxeroshin
2012-07-22 11:44:45 -05:00
parent 1d5f4379bc
commit 2b21a91f91
3 changed files with 14 additions and 0 deletions
+2
View File
@@ -1619,10 +1619,12 @@ class LunaMusicWheel: public Luna<MusicWheel>
{
public:
static int IsRouletting( T* p, lua_State *L ){ lua_pushboolean( L, p->IsRouletting() ); return 1; }
static int ResetSelection( T* p, lua_State *L ){ lua_pushboolean( L, p->SelectSongOrCourse() ); return 1; }
LunaMusicWheel()
{
ADD_METHOD( IsRouletting );
ADD_METHOD( ResetSelection );
}
};