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

@@ -37,34 +37,22 @@ import org.newdawn.slick.Image;
* Data type representing a spinner object.
*/
public class Spinner implements HitObject {
/**
* Container dimensions.
*/
/** Container dimensions. */
private static int width, height;
/**
* The associated OsuHitObject.
*/
/** The associated OsuHitObject. */
private OsuHitObject hitObject;
/**
* The associated GameScore object.
*/
/** The associated GameScore object. */
private GameScore score;
/**
* The last rotation angle.
*/
/** The last rotation angle. */
private float lastAngle = -1f;
/**
* The current number of rotations.
*/
/** The current number of rotations. */
private float rotations = 0f;
/**
* The total number of rotations needed to clear the spinner.
*/
/** The total number of rotations needed to clear the spinner. */
private float rotationsNeeded;
/**