@Override
    /**
     * Currently just used to move a mob to a certain vector
     */
    public void update() {
        if (moveToVector != null) {
            double dx = v.getX() - moveToVector.getX();
            double dy = v.getY() - moveToVector.getY();
            v.setX(dx < 0 ? v.getX() - Math.min(dx, speed): v.getX() + Math.max(dx, -speed));
            v.setY(dy < 0 ? v.getY() - Math.min(dy, speed): v.getY() + Math.max(dy, -speed));
            if(v.getX() == moveToVector.getX() && v.getY() == moveToVector.getY())
                moveToVector = null;
        }
    }