From 4a1f4a98116b5c59efe0606375b833a722a0d281 Mon Sep 17 00:00:00 2001 From: sowgro Date: Sun, 14 May 2023 17:34:40 -0400 Subject: add levelselector gui, move some files around --- src/main/KeyDetection.java | 27 --------------------------- 1 file changed, 27 deletions(-) delete mode 100644 src/main/KeyDetection.java (limited to 'src/main/KeyDetection.java') 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); - } - -} -- cgit v1.2.3