From 107ef4c16d8007559a4de7c68f590df92f8f415f Mon Sep 17 00:00:00 2001 From: Aidan Ross Date: Tue, 9 May 2023 12:24:36 +0000 Subject: Here's all the classes I needed to make the lane test work. --- NoteInfo.java | 22 ++++++++++++++++++++++ 1 file changed, 22 insertions(+) create mode 100644 NoteInfo.java (limited to 'NoteInfo.java') 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; + } +} -- cgit v1.2.3