aboutsummaryrefslogtreecommitdiff
path: root/NoteInfo.java
diff options
context:
space:
mode:
authorAidan Ross <aross02@fairport.org>2023-05-10 12:16:21 +0000
committerAidan Ross <aross02@fairport.org>2023-05-10 12:16:21 +0000
commit49203cc510dc71f20650e9a4eb0ed717d0df7933 (patch)
tree285b21423cec0887da3aecf86bd7718b16d86830 /NoteInfo.java
parent4a77c1cf54175d7714b288197160b46c700a9117 (diff)
downloadNPEhero-49203cc510dc71f20650e9a4eb0ed717d0df7933.tar.gz
NPEhero-49203cc510dc71f20650e9a4eb0ed717d0df7933.tar.bz2
NPEhero-49203cc510dc71f20650e9a4eb0ed717d0df7933.zip
Working version of the 5 lane test, with a test map to play as well
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;
+ }
+}