From f9748632b8bc33a3b91cad1392aac23c6fe47ac1 Mon Sep 17 00:00:00 2001 From: Aidan Ross Date: Thu, 25 May 2023 08:19:48 -0400 Subject: Renamed everything to be better and fixed arches on SongPlayer --- src/GamePlay/NoteInfo.java | 28 ++++++++++++++++++++++++++++ 1 file changed, 28 insertions(+) create mode 100644 src/GamePlay/NoteInfo.java (limited to 'src/GamePlay/NoteInfo.java') diff --git a/src/GamePlay/NoteInfo.java b/src/GamePlay/NoteInfo.java new file mode 100644 index 0000000..f6b1018 --- /dev/null +++ b/src/GamePlay/NoteInfo.java @@ -0,0 +1,28 @@ +/*Name: Guitar Hero Project + *Description: Contains the info for when to send a note + */ +package GamePlay; + +import javafx.scene.paint.Color; + +public class NoteInfo +{ + private double sendTime; + private Color col; + + public NoteInfo(double t) { + sendTime = t; + } + + public double getTime() { + return sendTime; + } + + public Color getColor() { + return col; + } + + public double compareTo(NoteInfo other) { + return sendTime - other.sendTime; + } +} -- cgit v1.2.3