javadoc adjustment

This commit is contained in:
yugecin 2016-12-18 23:48:55 +01:00
parent f47d54c4d0
commit 0ee16f2cb2

View File

@ -186,7 +186,8 @@ public class MusicController {
/** /**
* Gets the progress of the current beat. * Gets the progress of the current beat.
* @return progress as a value in [0, 1], where 0 means a beat just happened and 1 means the next beat is coming right now. * @return null if music is paused or no timingpoints are available, or progress as a value in
* [0, 1], where 0 means a beat just happened and 1 means the next beat is coming right now.
*/ */
public static Float getBeatProgress() { public static Float getBeatProgress() {
if (!isPlaying() || getBeatmap() == null) { if (!isPlaying() || getBeatmap() == null) {