Package mage.interfaces

Examples of mage.interfaces.ServerState


  }

  @Override
  public ServerState getServerState() throws RemoteException, MageException {
    try {
      return new ServerState(
          GameFactory.getInstance().getGameTypes(),
          PlayerFactory.getInstance().getPlayerTypes().toArray(new String[0]),
          DeckValidatorFactory.getInstance().getDeckTypes().toArray(new String[0]),
          testMode);
    }
View Full Code Here


    @Override
    //TODO: check how often it is used
    public ServerState getServerState() throws MageException {
        try {
            return new ServerState(
                    GameFactory.getInstance().getGameTypes(),
                    TournamentFactory.getInstance().getTournamentTypes(),
                    PlayerFactory.getInstance().getPlayerTypes().toArray(new String[PlayerFactory.getInstance().getPlayerTypes().size()]),
                    DeckValidatorFactory.getInstance().getDeckTypes().toArray(new String[DeckValidatorFactory.getInstance().getDeckTypes().size()]),
                    CubeFactory.getInstance().getDraftCubes().toArray(new String[CubeFactory.getInstance().getDraftCubes().size()]),
View Full Code Here

TOP

Related Classes of mage.interfaces.ServerState

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.