private ArrayList<Action> getActionsToShip(SpaceShip ship) {
        ArrayList<Action> actions = new ArrayList<Action>();
        for (Player p : universe.getPlayers()) {
            if (player.equals(p))
                continue;
            for (SpaceShip s: p.getShips()) {
                actions.add(new Action(Action.actions.MOVE_TO_ENEMY_SHIP, s));
            }
        }
        for (Planet p: universe.getPlanets()) {
            if (p.getMaster() != null && !p.getMaster().equals(player))
                actions.add(new Action(Action.actions.MOVE_TO_ENEMY_PLANET, p));
            else if (p.getMaster() == null)
                actions.add(new Action(Action.actions.MOVE_TO_EMPTY_PLANET, p));
        }
        return actions;
    }