diff options
author | Aidan Ross <aross02@fairport.org> | 2023-05-25 08:19:48 -0400 |
---|---|---|
committer | Aidan Ross <aross02@fairport.org> | 2023-05-25 08:19:48 -0400 |
commit | f9748632b8bc33a3b91cad1392aac23c6fe47ac1 (patch) | |
tree | 849a6f4820620ff5c3f9df3ba1f81876f9fc88bd /src/GamePlay/NoteInfo.java | |
parent | 9c7aa6cab36884d4dda8b3dbf50791f2e2d810d2 (diff) | |
download | NPEhero-f9748632b8bc33a3b91cad1392aac23c6fe47ac1.tar.gz NPEhero-f9748632b8bc33a3b91cad1392aac23c6fe47ac1.tar.bz2 NPEhero-f9748632b8bc33a3b91cad1392aac23c6fe47ac1.zip |
Renamed everything to be better and fixed arches on SongPlayer
Diffstat (limited to 'src/GamePlay/NoteInfo.java')
-rw-r--r-- | src/GamePlay/NoteInfo.java | 28 |
1 files changed, 28 insertions, 0 deletions
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; + } +} |