Package agh.sr.rmi.server.game.controller

Examples of agh.sr.rmi.server.game.controller.PanGameController


            throw new GameException("Not unique game name!");
        }

        List<Bot> bots = BotFactory.createBots(gameName, botsCount);

        GameController gameController = new PanGameController(gameName, playersCount, bots);
        UnicastRemoteObject.exportObject(gameController, 0);
        gameController.addPlayer(playerToken, gameListener);

        games.put(gameName, gameController);

        return gameController;
    }
View Full Code Here

TOP

Related Classes of agh.sr.rmi.server.game.controller.PanGameController

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.