@Override
    public void keyReleased(KeyEvent e) {
        if (e.getKeyCode() == KeyEvent.VK_UP) {
            gui.getPhysics().getShip().setAccelerating(false);
        }
        if (e.getKeyCode() == KeyEvent.VK_DOWN) {
            gui.getPhysics().getShip().setDecelerating(false);
        }
        if (e.getKeyCode() == KeyEvent.VK_LEFT) {
            gui.getPhysics().getShip().setTurningAntiClockwise(false);
        }
        if (e.getKeyCode() == KeyEvent.VK_RIGHT) {
            gui.getPhysics().getShip().setTurningClockwise(false);
        }
    }