aboutsummaryrefslogtreecommitdiff
path: root/NoteInfo.java
diff options
context:
space:
mode:
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;
+ }
+}