aboutsummaryrefslogtreecommitdiff
path: root/src/gameplay
diff options
context:
space:
mode:
authorsowgro <tpoke.ferrari@gmail.com>2023-06-02 02:31:20 -0400
committersowgro <tpoke.ferrari@gmail.com>2023-06-02 02:31:20 -0400
commita0739dc019417f17e77f6c959ebc0989c873514c (patch)
tree91574cb0bf61a0c669b33bd13beba235995181c1 /src/gameplay
parent571bab88c599571ee5bd9c6f5f8af2f3016fb19d (diff)
downloadNPEhero-a0739dc019417f17e77f6c959ebc0989c873514c.tar.gz
NPEhero-a0739dc019417f17e77f6c959ebc0989c873514c.tar.bz2
NPEhero-a0739dc019417f17e77f6c959ebc0989c873514c.zip
kinda working note writer
Diffstat (limited to 'src/gameplay')
-rw-r--r--src/gameplay/Timer.java4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/gameplay/Timer.java b/src/gameplay/Timer.java
index 4ffb1fb..5ff3b16 100644
--- a/src/gameplay/Timer.java
+++ b/src/gameplay/Timer.java
@@ -21,4 +21,8 @@ public class Timer
public double time() {
return ((double)(System.currentTimeMillis()-timeStart))*(bpm/60000.0);
}
+
+ public String toString() {
+ return ""+((double)(System.currentTimeMillis()-timeStart))*(bpm/60000.0);
+ }
}