diff options
Diffstat (limited to 'src/fallTest/NoteInfo.java')
-rw-r--r-- | src/fallTest/NoteInfo.java | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/src/fallTest/NoteInfo.java b/src/fallTest/NoteInfo.java index 77b9a20..8ab822c 100644 --- a/src/fallTest/NoteInfo.java +++ b/src/fallTest/NoteInfo.java @@ -3,11 +3,13 @@ */ package fallTest; +import javafx.scene.paint.Color; public class NoteInfo { private int sendTime; - + private Color col; + public NoteInfo(int t) { sendTime = t; } @@ -16,6 +18,10 @@ public class NoteInfo return sendTime; } + public Color getColor() { + return col; + } + public int compareTo(NoteInfo other) { return sendTime - other.sendTime; } |