public boolean newGame (String[] warriorNames, int coreSize){ Vector params = new Vector(); params.add(warriorNames); params.add(coreSize); for(int n=0; n < this.getServer().getConnectedClients().size(); n++) { try { this.getServer().getConnectedClients().get(n).execute(".newGame", params); } catch (XmlRpcException e) { // TODO Auto-generated catch block e.printStackTrace(); } catch (IOException e) { // TODO Auto-generated catch block e.printStackTrace(); } } return true; }