aboutsummaryrefslogtreecommitdiff
path: root/src/fallTest/NoteInfo.java
diff options
context:
space:
mode:
authorAidan Ross <aross02@fairport.org>2023-05-23 09:36:14 -0400
committerAidan Ross <aross02@fairport.org>2023-05-23 09:36:14 -0400
commit526ef0e608272f9d53c07cb802182ded9996e216 (patch)
tree300a3574f5db66be96cab9fc72811ff62c48fe92 /src/fallTest/NoteInfo.java
parent4b6caad7d12ef23c9cc6299221ad7bb88f357404 (diff)
downloadNPEhero-526ef0e608272f9d53c07cb802182ded9996e216.tar.gz
NPEhero-526ef0e608272f9d53c07cb802182ded9996e216.tar.bz2
NPEhero-526ef0e608272f9d53c07cb802182ded9996e216.zip
Can now send the notes according to the chart
Diffstat (limited to '')
-rw-r--r--src/fallTest/NoteInfo.java8
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;
}