From cc6ed32bb9da1319834d06d78cee7a8c4050334e Mon Sep 17 00:00:00 2001 From: Aidan Ross Date: Wed, 24 May 2023 17:02:47 -0400 Subject: Instead of timestamps, notes are now sent in by beats, which are based off of the song's bpm. --- src/fallTest/NoteInfo.java | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'src/fallTest/NoteInfo.java') diff --git a/src/fallTest/NoteInfo.java b/src/fallTest/NoteInfo.java index 8ab822c..6a9c759 100644 --- a/src/fallTest/NoteInfo.java +++ b/src/fallTest/NoteInfo.java @@ -7,14 +7,14 @@ import javafx.scene.paint.Color; public class NoteInfo { - private int sendTime; + private double sendTime; private Color col; - public NoteInfo(int t) { + public NoteInfo(double t) { sendTime = t; } - public int getTime() { + public double getTime() { return sendTime; } @@ -22,7 +22,7 @@ public class NoteInfo return col; } - public int compareTo(NoteInfo other) { + public double compareTo(NoteInfo other) { return sendTime - other.sendTime; } } -- cgit v1.2.3