changes to support multiplayer

This commit is contained in:
BetaSteward 2010-05-17 03:19:39 +00:00
parent d91c00d002
commit 79dbfca2ff
18 changed files with 144 additions and 59 deletions

View file

@ -37,6 +37,7 @@ import javax.xml.bind.JAXBException;
import javax.xml.bind.Unmarshaller;
import mage.server.util.config.Config;
import mage.server.util.config.Plugin;
import mage.server.util.config.GamePlugin;
import mage.util.Logging;
/**
*
@ -84,15 +85,15 @@ public class ConfigSettings {
}
public List<Plugin> getPlayerTypes() {
return config.getPlayerTypes().getPlugin();
return config.getPlayerTypes().getPlayerType();
}
public List<Plugin> getGameTypes() {
return config.getGameTypes().getPlugin();
public List<GamePlugin> getGameTypes() {
return config.getGameTypes().getGameType();
}
public List<Plugin> getDeckTypes() {
return config.getDeckTypes().getPlugin();
return config.getDeckTypes().getDeckType();
}
}