aboutsummaryrefslogtreecommitdiff
path: root/src/fallTest/NoteInfo.java
diff options
context:
space:
mode:
authorTyler Ferrari <tpoke.ferrari@gmail.com>2023-05-09 12:30:00 +0000
committerTyler Ferrari <tpoke.ferrari@gmail.com>2023-05-09 12:30:00 +0000
commit4c67291aee90d1e42c51400d544882bcda8e1a18 (patch)
tree7c73dea889f415e055284d78b832d9ccfc8b5cc5 /src/fallTest/NoteInfo.java
parent107ef4c16d8007559a4de7c68f590df92f8f415f (diff)
downloadNPEhero-4c67291aee90d1e42c51400d544882bcda8e1a18.tar.gz
NPEhero-4c67291aee90d1e42c51400d544882bcda8e1a18.tar.bz2
NPEhero-4c67291aee90d1e42c51400d544882bcda8e1a18.zip
Move files
Diffstat (limited to 'src/fallTest/NoteInfo.java')
-rw-r--r--src/fallTest/NoteInfo.java22
1 files changed, 22 insertions, 0 deletions
diff --git a/src/fallTest/NoteInfo.java b/src/fallTest/NoteInfo.java
new file mode 100644
index 0000000..77b9a20
--- /dev/null
+++ b/src/fallTest/NoteInfo.java
@@ -0,0 +1,22 @@
+/*Name: Guitar Hero Project
+ *Description: Contains the info for when to send a note
+ */
+package fallTest;
+
+
+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;
+ }
+}