From 526ef0e608272f9d53c07cb802182ded9996e216 Mon Sep 17 00:00:00 2001 From: Aidan Ross Date: Tue, 23 May 2023 09:36:14 -0400 Subject: Can now send the notes according to the chart --- src/fallTest/NoteInfo.java | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) (limited to 'src/fallTest/NoteInfo.java') 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; } -- cgit v1.2.3