aboutsummaryrefslogtreecommitdiff
path: root/NoteInfo.java
diff options
context:
space:
mode:
authorAidan Ross <aross02@fairport.org>2023-05-09 12:24:36 +0000
committerAidan Ross <aross02@fairport.org>2023-05-09 12:24:36 +0000
commit107ef4c16d8007559a4de7c68f590df92f8f415f (patch)
treecf7034c268042ba4ae3a7a381e08cec13d665f98 /NoteInfo.java
parent0ae3c4ebc744de27dfaffa73c30659724b66dc29 (diff)
downloadNPEhero-107ef4c16d8007559a4de7c68f590df92f8f415f.tar.gz
NPEhero-107ef4c16d8007559a4de7c68f590df92f8f415f.tar.bz2
NPEhero-107ef4c16d8007559a4de7c68f590df92f8f415f.zip
Here's all the classes I needed to make the lane test work.
Diffstat (limited to 'NoteInfo.java')
-rw-r--r--NoteInfo.java22
1 files changed, 22 insertions, 0 deletions
diff --git a/NoteInfo.java b/NoteInfo.java
new file mode 100644
index 0000000..538b31b
--- /dev/null
+++ b/NoteInfo.java
@@ -0,0 +1,22 @@
+/*Name: Guitar Hero Project
+ *Description: Contains the info for when to send a note
+ */
+package cs;
+
+
+public class NoteInfo
+{
+ private int sendTime;
+
+ public NoteInfo(int t) {
+ sendTime = t;
+ }
+
+ public int getTime() {
+ return sendTime;
+ }
+
+ public int compareTo(NoteInfo other) {
+ return sendTime - other.sendTime;
+ }
+}