Add MusicWheel:IsRouletting and WheelBase:GetNumWheelItems Lua bindings.

This commit is contained in:
AJ Kelly
2011-12-27 11:03:02 -06:00
parent a191da3f20
commit ec74678b70
3 changed files with 21 additions and 0 deletions
+14
View File
@@ -1602,6 +1602,20 @@ void MusicWheel::FinishChangingSorts()
m_fTimeLeftInState = 0;
}
// lua start
#include "LuaBinding.h"
class LunaMusicWheel: public Luna<MusicWheel>
{
public:
static int IsRouletting( T* p, lua_State *L ){ lua_pushboolean( L, p->IsRouletting() ); return 1; }
LunaMusicWheel()
{
ADD_METHOD( IsRouletting );
}
};
/*
* (c) 2001-2004 Chris Danford, Chris Gomez, Glenn Maynard
* All rights reserved.