diff options
author | sowgro <tpoke.ferrari@gmail.com> | 2023-05-25 08:34:18 -0400 |
---|---|---|
committer | sowgro <tpoke.ferrari@gmail.com> | 2023-05-25 08:34:18 -0400 |
commit | f89d776c40eb49992b5d65ed8cfa111328e75208 (patch) | |
tree | d380828ca6268b2332e2bfd870b5ebae31ed4467 /src/gameplay/NoteInfo.java | |
parent | b7c8d272d339bab3ef2772b906176cb91ceb4ff4 (diff) | |
download | NPEhero-f89d776c40eb49992b5d65ed8cfa111328e75208.tar.gz NPEhero-f89d776c40eb49992b5d65ed8cfa111328e75208.tar.bz2 NPEhero-f89d776c40eb49992b5d65ed8cfa111328e75208.zip |
rename gameplay package
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..6428066 --- /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; + } +} |