public void tire(int x, int y) {
        for (int i = 0; i < flotte.size(); i++) {
            vaisseau tmp = flotte.get(i);
            if (tmp.isSelected && tmp.isAlive()) {
                tmp.nbTir++;
                if (tmp.nbTir < 10) {
                    tir.add(new laser((int) tmp.posx + tmp.milieuX, (int) tmp.posy + tmp.milieuY, x, y, false,estRepublic));
                } else {
                    tir.add(new laser((int) tmp.posx + tmp.milieuX, (int) tmp.posy + tmp.milieuY, x, y, true,estRepublic));
                    tmp.nbTir = 0;
                }
                //System.out.println((tmp.posx+tmp.milieuX)+" "+(tmp.posy+tmp.milieuY)+" "+ x+" "+ y);
            }
        }
    }