diff options
Diffstat (limited to 'src/fallTest/NoteInfo.java')
-rw-r--r-- | src/fallTest/NoteInfo.java | 22 |
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; + } +} |