Comment format changes.

- Collapsed Javadoc comments for all fields.
- OsuFile now has proper Javadoc comments.
- Fixed various mistakes with comments.

Some changes with enums:
- Changed Class.values() calls to values().
- Changed size() calls to a SIZE field.
- Changed valuesReversed() calls to a VALUES_REVERSED field.
- Removed 'static' from enum declarations.

Signed-off-by: Jeffrey Han <itdelatrisu@gmail.com>
This commit is contained in:
Jeffrey Han
2015-01-22 00:44:45 -05:00
parent d6c7476b88
commit c9e14bfc70
32 changed files with 527 additions and 1008 deletions

View File

@@ -41,39 +41,25 @@ import org.newdawn.slick.openal.SoundStore;
* Controller for all music.
*/
public class MusicController {
/**
* The current music track.
*/
/** The current music track. */
private static Music player;
/**
* The last OsuFile passed to play().
*/
/** The last OsuFile passed to play(). */
private static OsuFile lastOsu;
/**
* Temporary WAV file for file conversions (to be deleted).
*/
/** Temporary WAV file for file conversions (to be deleted). */
private static File wavFile;
/**
* Thread for loading tracks.
*/
/** Thread for loading tracks. */
private static Thread trackLoader;
/**
* Whether the theme song is currently playing.
*/
/** Whether the theme song is currently playing. */
private static boolean themePlaying = false;
/**
* Track pause time.
*/
/** Track pause time. */
private static float pauseTime = 0f;
/**
* Whether the current track volume is dimmed.
*/
/** Whether the current track volume is dimmed. */
private static boolean trackDimmed = false;
// This class should not be instantiated.