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/Timer.java | |
parent | b7c8d272d339bab3ef2772b906176cb91ceb4ff4 (diff) | |
download | NPEhero-f89d776c40eb49992b5d65ed8cfa111328e75208.tar.gz NPEhero-f89d776c40eb49992b5d65ed8cfa111328e75208.tar.bz2 NPEhero-f89d776c40eb49992b5d65ed8cfa111328e75208.zip |
rename gameplay package
Diffstat (limited to 'src/GamePlay/Timer.java')
-rw-r--r-- | src/GamePlay/Timer.java | 24 |
1 files changed, 0 insertions, 24 deletions
diff --git a/src/GamePlay/Timer.java b/src/GamePlay/Timer.java deleted file mode 100644 index 5d1ddae..0000000 --- a/src/GamePlay/Timer.java +++ /dev/null @@ -1,24 +0,0 @@ -/*Name: Guitar Hero Project - *Description: Contains the method used to determine how long the user has been playing, - * used to determine when to send notes - */ -package GamePlay; - - -public class Timer -{ - private long timeStart = System.currentTimeMillis(); - private int bpm; - - public Timer(int newBpm) { - bpm = newBpm; - } - - public Timer() { - bpm = 60000; - } - - public double time() { - return ((double)(System.currentTimeMillis()-timeStart))*(bpm/60000.0); - } -} |