[TimingData] Add HasDelays() Lua binding; HasStops() now only checks stops.

This commit is contained in:
AJ Kelly
2011-08-07 13:48:42 -05:00
parent c2ec5614fa
commit ad9cec03aa
3 changed files with 14 additions and 6 deletions
+5 -2
View File
@@ -714,11 +714,14 @@ public:
bool HasBpmChanges() const;
/**
* @brief View the TimingData to see if there is at least one stop at any point.
*
* For the purposes of this function, Stops and Delays are considered the same.
* @return true if there is at least one stop, false otherwise.
*/
bool HasStops() const;
/**
* @brief View the TimingData to see if there is at least one delay at any point.
* @return true if there is at least one delay, false otherwise.
*/
bool HasDelays() const;
/**
* @brief View the TimingData to see if there is at least one warp at any point.
* @return true if there is at least one warp, false otherwise.