diff options
Diffstat (limited to '')
-rw-r--r-- | src/main/java/net/sowgro/npehero/levelapi/Note.java (renamed from src/main/java/net/sowgro/npehero/main/Note.java) | 12 |
1 files changed, 9 insertions, 3 deletions
diff --git a/src/main/java/net/sowgro/npehero/main/Note.java b/src/main/java/net/sowgro/npehero/levelapi/Note.java index c2c9015..ab93885 100644 --- a/src/main/java/net/sowgro/npehero/main/Note.java +++ b/src/main/java/net/sowgro/npehero/levelapi/Note.java @@ -1,17 +1,23 @@ -package net.sowgro.npehero.main; +package net.sowgro.npehero.levelapi; import javafx.beans.property.DoubleProperty; import javafx.beans.property.SimpleDoubleProperty; /** * A note represents a moment in the song when the player should hit a key + * <p> * The key corresponding to the lane the note is in should be pressed */ public class Note { - public DoubleProperty time = new SimpleDoubleProperty(); - public int lane; + public final DoubleProperty time = new SimpleDoubleProperty(); + public final int lane; + /** + * Creates a new note + * @param time The time the player should hit the note. + * @param lane The lane the note belongs to. + */ public Note(double time, int lane) { this.time.set(time); this.lane = lane; |