private void startMove(XY xy) {
        int distance = -1;
        Way selectedWay = null;

        Set<Way> ways = model.getBoard().makePossibleWays(this);
        for (Way way : ways) {
            if (way.getLastPlace().equals(xy)) {
                int price = way.getPrice();
                if ((distance < 0) || (price < distance)) {
                    distance = way.getPrice();
                    selectedWay = way;
                }
            }
        }

        if (selectedWay != null) {
            shift(xy);
            this.mp -= selectedWay.getPrice();
        }

        showPossibleWays();
    }