@Override
    public void keyReleased(KeyEvent e) {
        keyReleased = (e.getKeyChar());
        switch (keyReleased) {
            //set to fale if relesed
            case 'a':
                moveLeft = false;
                break;
            case 'd':
                moveRight = false;
                break;
            case 'w':
                moveUp = false;
                break;
            case 's':
                moveDown = false;
                break;
            case 'p':
                ppressed = false;
                break;
            case 32:
                cheatON = false;
            default:
                //System.err.println("KEY NOT SUPPORTED");
                break;
        }
    }