@Override
    public boolean keyup(KeyEvent ev) {
        if (ev.getKeyCode() == KeyEvent.VK_UP)
            APXUtils.wPressed = false;
        if (ev.getKeyCode() == KeyEvent.VK_LEFT)
            APXUtils.aPressed = false;
        if (ev.getKeyCode() == KeyEvent.VK_DOWN)
            APXUtils.sPressed = false;
        if (ev.getKeyCode() == KeyEvent.VK_RIGHT)
            APXUtils.dPressed = false;
        if (ev.getKeyCode() == KeyEvent.VK_RIGHT
                || ev.getKeyCode() == KeyEvent.VK_DOWN
                || ev.getKeyCode() == KeyEvent.VK_LEFT
                || ev.getKeyCode() == KeyEvent.VK_UP)
            return true;
        else
            return false;
    }