105
105
return gameTypeList.getGameType(id);
108
public static GameType getGameType(String serverJarNames, String serverClassName, String clientJarName, String clientClassName) throws MalformedURLException, ClassNotFoundException, InstantiationException, IllegalAccessException {
108
public static GameType createGameType(String serverJarNames, String serverClassName, String clientJarName, String clientClassName) throws MalformedURLException, ClassNotFoundException, InstantiationException, IllegalAccessException {
109
109
String codeBase = new File(".").toURI().toURL().toString();
110
110
String[] jarNames = Util.split(serverJarNames, ',');
111
111
URL[] urls = new URL[jarNames.length];