From 49203cc510dc71f20650e9a4eb0ed717d0df7933 Mon Sep 17 00:00:00 2001 From: Aidan Ross Date: Wed, 10 May 2023 12:16:21 +0000 Subject: Working version of the 5 lane test, with a test map to play as well --- 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