diff options
author | sowgro <tpoke.ferrari@gmail.com> | 2023-05-14 17:34:40 -0400 |
---|---|---|
committer | sowgro <tpoke.ferrari@gmail.com> | 2023-05-14 17:34:40 -0400 |
commit | 4a1f4a98116b5c59efe0606375b833a722a0d281 (patch) | |
tree | f993765d0022da440199fb109633b0e0113082eb /src/main/KeyDetection.java | |
parent | 6e2ff44c33226e6d03810ae5fae9645605d3e89d (diff) | |
download | NPEhero-4a1f4a98116b5c59efe0606375b833a722a0d281.tar.gz NPEhero-4a1f4a98116b5c59efe0606375b833a722a0d281.tar.bz2 NPEhero-4a1f4a98116b5c59efe0606375b833a722a0d281.zip |
add levelselector gui, move some files around
Diffstat (limited to 'src/main/KeyDetection.java')
-rw-r--r-- | src/main/KeyDetection.java | 27 |
1 files changed, 0 insertions, 27 deletions
diff --git a/src/main/KeyDetection.java b/src/main/KeyDetection.java deleted file mode 100644 index 7887405..0000000 --- a/src/main/KeyDetection.java +++ /dev/null @@ -1,27 +0,0 @@ -/*Name: - *Date: - *Period: - *Teacher: - *Description: - */ -package main; - -import javax.swing.*; -import java.awt.event.ActionEvent; - -public class KeyDetection extends AbstractAction -{ - long timeStart = System.currentTimeMillis(); - private char key; - public KeyDetection(char ch){ - key = ch; - } - - public void actionPerformed(ActionEvent e) - { - // TODO Auto-generated method stub - int time = (int)((System.currentTimeMillis()-timeStart)); - System.out.println(key + ": " + time); - } - -} |