[GrooveRadar] Added SetFromValues(pn,{f1,f2,f3,f4,f5}) Lua binding.

This commit is contained in:
AJ Kelly
2012-06-05 13:00:37 -05:00
parent ebf1bf6028
commit c5fdfca65d
3 changed files with 43 additions and 0 deletions
+2
View File
@@ -26,6 +26,7 @@ public:
* @param pn the Player to give a GrooveRadar.
* @param pSteps the Steps to use to make the radar. If NULL, there are no Steps. */
void SetFromSteps( PlayerNumber pn, Steps* pSteps );
void SetFromValues( PlayerNumber pn, vector<float> vals );
// Lua
void PushSelf( lua_State *L );
@@ -45,6 +46,7 @@ protected:
void SetEmpty();
void SetFromSteps( const RadarValues &rv );
void SetFromValues( vector<float> vals );
void SetRadius( float f ) { m_size.x = f; m_size.y = f; }