aboutsummaryrefslogtreecommitdiff
path: root/src/fallTest/NoteInfo.java
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--src/fallTest/NoteInfo.java8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/fallTest/NoteInfo.java b/src/fallTest/NoteInfo.java
index 8ab822c..6a9c759 100644
--- a/src/fallTest/NoteInfo.java
+++ b/src/fallTest/NoteInfo.java
@@ -7,14 +7,14 @@ import javafx.scene.paint.Color;
public class NoteInfo
{
- private int sendTime;
+ private double sendTime;
private Color col;
- public NoteInfo(int t) {
+ public NoteInfo(double t) {
sendTime = t;
}
- public int getTime() {
+ public double getTime() {
return sendTime;
}
@@ -22,7 +22,7 @@ public class NoteInfo
return col;
}
- public int compareTo(NoteInfo other) {
+ public double compareTo(NoteInfo other) {
return sendTime - other.sendTime;
}
}