Add GetPlayerTimingData lua binding...for now.

This may be removed if it fails its purpose.
This commit is contained in:
Jason Felds
2011-06-11 15:17:48 -04:00
parent f900b53f1d
commit d90c8cfe07
2 changed files with 17 additions and 1 deletions
+10
View File
@@ -69,6 +69,16 @@ public:
void Load();
void CrossedRows( int iLastRowCrossed, const RageTimer &now );
bool IsOniDead() const;
/**
* @brief Retrieve the Player's TimingData.
*
* This is primarily for a lua hook.
* @return the TimingData in question. */
TimingData GetPlayerTimingData() const
{
return *(this->m_Timing);
}
// Called when a fret, step, or strum type button changes
void Fret( int col, int row, const RageTimer &tm, bool bHeld, bool bRelease );