public void keyReleased (KeyEvent ke) {
        switch(ke.getKeyCode()) {
            case KeyEvent.VK_W:
                W_KEY = false;
                break;
            case KeyEvent.VK_UP:
                UP_KEY = false;
                break;
            case KeyEvent.VK_A:
                A_KEY = false;
                break;
            case KeyEvent.VK_LEFT:
                LEFT_KEY = false;
                break;
            case KeyEvent.VK_S:
                S_KEY = false;
                break;
            case KeyEvent.VK_DOWN:
                DOWN_KEY = false;
                break;
            case KeyEvent.VK_D:
                D_KEY = false;
                break;
            case KeyEvent.VK_RIGHT:
                RIGHT_KEY = false;
                break;
        }
        updateStates();
        dataCon.setPhysicalStates(dataCon.getPlayerShip(), ACCEL, REVERSE, LEFT_TURN, RIGHT_TURN);
    }