void sendShips(Set<Planet> fromList, Planet to) {
        double interval = 12;
        double radiusDelta = 30;

        Set<Ship> ships = new HashSet<Ship>();

        for (Planet from : fromList) {
            double radius = from.radius + 10;
            int sendCount = from.shipsCount.get() / 2;
            from.shipsCount.addAndGet(-sendCount);
            int multiplier = 0;


            double distance = Math.sqrt(Math.pow(from.getX() - to.getX(), 2) + Math.pow(from.getY() - to.getY(), 2));
            double offset = Math.acos((to.getX() - from.getX()) / distance);
            if (Math.asin((to.getY() - from.getY()) / distance) < 0) {
                offset *= -1;
            }

            for (int i = 0; i < sendCount; i++) {

                Ship ship = new Ship(to);

                //определяем стартовую позицию
                double degree = Math.acos(1 - Math.pow(interval / radius, 2) / 2);

                if (Math.abs(degree * multiplier) > Math.PI / 2) {
                    radius += radiusDelta;
                    multiplier = 0;
                }

                ship.setX(from.getX() + radius * Math.cos(degree * multiplier + offset));
                ship.setY(from.getY() + radius * Math.sin(degree * multiplier + offset));

                if (multiplier > 0) {
                    multiplier *= -1;
                } else {
                    multiplier *= -1;
                    multiplier++;
                }

                double minDistToPlanet = 10;
                double[] params = getDistanceToNearestPlanetAndItsRadius(ship.pos);
                if (params[0] < params[1] + minDistToPlanet) {
                    i--;
                    continue;
                }

                //рассчитываем путь
                ship.findWay(this, from, to);


                //добавляем в список
                ships.add(ship);
            }

            shipSets.add(ships);
        }
        ShipsProcessor shipsProcessor = new ShipsProcessor(this, ships);
        shipsProcessor.start();

    }