From 4c67291aee90d1e42c51400d544882bcda8e1a18 Mon Sep 17 00:00:00 2001 From: Tyler Ferrari Date: Tue, 9 May 2023 12:30:00 +0000 Subject: Move files --- src/fallTest/NoteInfo.java | 22 ++++++++++++++++++++++ 1 file changed, 22 insertions(+) create mode 100644 src/fallTest/NoteInfo.java (limited to 'src/fallTest/NoteInfo.java') 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; + } +} -- cgit v1.2.3