public void addGroupAgent(int nbAgents, Base source, Base destination, Player player) {
Game game = Game.getInstance();
try {
GroupAgent groupAgent = new GroupAgent(nbAgents, source, destination, player);
AppliWindow.getInstance().getLabelAgent().add(groupAgent);
game.getAgentManager().addAgent(groupAgent);
} catch (IOException e) {
System.out.println("failed "+e);
e.printStackTrace();