diff options
author | sowgro <tpoke.ferrari@gmail.com> | 2023-05-03 22:50:43 -0400 |
---|---|---|
committer | sowgro <tpoke.ferrari@gmail.com> | 2023-05-03 22:50:43 -0400 |
commit | 95a82dc15a17a3fe16d34a1cc3c2ec5b46129c73 (patch) | |
tree | af87cffaf5009a055351a1210723ca579e6d2bcc /NoteTest.java | |
parent | 291cf3bbfbd316f6acdb6d686470113ab91f53b6 (diff) | |
download | NPEhero-95a82dc15a17a3fe16d34a1cc3c2ec5b46129c73.tar.gz NPEhero-95a82dc15a17a3fe16d34a1cc3c2ec5b46129c73.tar.bz2 NPEhero-95a82dc15a17a3fe16d34a1cc3c2ec5b46129c73.zip |
more file management
Diffstat (limited to 'NoteTest.java')
-rw-r--r-- | NoteTest.java | 35 |
1 files changed, 0 insertions, 35 deletions
diff --git a/NoteTest.java b/NoteTest.java deleted file mode 100644 index dd38b72..0000000 --- a/NoteTest.java +++ /dev/null @@ -1,35 +0,0 @@ -/*Name: - *Date: - *Period: - *Teacher: - *Description: - */ -package cs; -import java.awt.*; - -public class NoteTest -{ - private boolean failed = false; - private int lane; - private final int NOTESPEED = 1; - private int yPos = SongPlayer.HEIGHT; - - public void gameTick() { - if (!failed) { - if (yPos > 0) { - yPos -= NOTESPEED; - } - else { - failed = true; - } - } - } - - public boolean getFailed() { - return failed; - } - - public int getY() { - return yPos; - } -} |