Minor updates.

- Draw the playfield background in the song menu if a background cannot be drawn for the focused beatmap.
- Added ScoreDB.deleteScore() method to delete a score from the database.
- Added @author tags for curve-related classes (by fluddokt, #12).

Signed-off-by: Jeffrey Han <itdelatrisu@gmail.com>
This commit is contained in:
Jeffrey Han
2015-02-11 02:56:02 -05:00
parent 63271c125c
commit 99bc944ed6
8 changed files with 40 additions and 2 deletions

View File

@@ -20,6 +20,8 @@ package itdelatrisu.opsu.objects.curves;
/**
* Representation of a Bezier curve with the distance between each point calculated.
*
* @author fluddokt (https://github.com/fluddokt)
*/
public class Bezier2 {
/** The control points of the Bezier curve. */

View File

@@ -29,6 +29,8 @@ import org.newdawn.slick.Image;
/**
* Representation of a curve along a Circumscribed Circle of three points.
* http://en.wikipedia.org/wiki/Circumscribed_circle
*
* @author fluddokt (https://github.com/fluddokt)
*/
public class CircumscribedCircle extends Curve {
/** PI constants. */

View File

@@ -24,6 +24,8 @@ import org.newdawn.slick.Color;
/**
* Representation of a curve.
*
* @author fluddokt (https://github.com/fluddokt)
*/
public abstract class Curve {
/** The associated OsuHitObject. */

View File

@@ -31,6 +31,8 @@ import org.newdawn.slick.Image;
/**
* Representation of a Bezier curve with equidistant points.
* http://pomax.github.io/bezierinfo/#tracing
*
* @author fluddokt (https://github.com/fluddokt)
*/
public class LinearBezier extends Curve {
/** The angles of the first and last control points for drawing. */

View File

@@ -20,6 +20,8 @@ package itdelatrisu.opsu.objects.curves;
/**
* A two-dimensional floating-point vector.
*
* @author fluddokt (https://github.com/fluddokt)
*/
public class Vec2f {
/** Vector coordinates. */