public void keyPressed(KeyEvent e) { //called whenever any key is pressed
            int keyCode = e.getKeyCode(); //e is when the user presses a key. when the key is pressed what key it is is stored in keyCode
            if (keyCode == e.VK_W) {
                
            }
            if (keyCode == e.VK_S) {
                
            }
            if (keyCode == e.VK_A) {
                
            }
            if (keyCode == e.VK_D) {
                
            }

        }