public void addBoats(int posXB1, int posYB1, String orientationB1, int sizeB1, int posXB2, int posYB2, String orientationB2, int sizeB2, int posXB3, int posYB3, String orientationB3, int sizeB3) {
        try {
            playerBoatList.add(new Boat(game, sizeB1, player, posXB1, posYB1, orientationB1));
            playerBoatList.add(new Boat(game, sizeB2, player, posXB2, posYB2, orientationB2));
            if (posXB3 != 0 || posYB3 != 0) {
                playerBoatList.add(new Boat(game, sizeB3, player, posXB3, posYB3, orientationB3));
            }

            updater.addBoats(playerBoatList);
            notifyChanges("boat added");

        } catch (SQLIntegrityConstraintViolationException e) {
            Logger.getLogger(GameModel.class.getName()).log(Level.SEVERE, null, e);
            playerBoatList.clear();
            notifyChanges("invalid position");

        } catch (SQLException ex) {
            Logger.getLogger(GameModel.class.getName()).log(Level.SEVERE, null, ex);
            playerBoatList.clear();
            notifyChanges("SQL exception");
        }
    }