[WheelItemBase] Added GetColor and GetText Lua bindings.

This commit is contained in:
AJ Kelly
2011-09-25 01:18:31 -05:00
parent a3c1cfc7c2
commit 0bab252b0d
3 changed files with 34 additions and 1 deletions
+7
View File
@@ -48,6 +48,13 @@ public:
RageColor m_colorLocked;
const RString GetText(){ return m_pData->m_sText; }
const RageColor GetColor(){ return m_pData->m_color; }
WheelItemDataType GetType(){ return m_pData->m_Type; }
// Lua
void PushSelf( lua_State *L );
protected:
void SetGrayBar( Actor *pBar ) { m_pGrayBar = pBar; }