예제 #1
0
        public override StrategyGame SetupGame()
        {
            var       gameSpecs = TestSpecs.Generate();
            var       game      = new StrategyGame(gameSpecs, null);
            GameWorld world     = Worldgen.CreateWorld(MAX_PLAYERS, WORLD_SEED,
                                                       new NewbieChunkPopulator()
                                                       , new DungeonsPopulator()
                                                       );

            game.World = world;
            game.RegisterEventListeners();
            _accountManager = new AccountManager(game, _socketServer);
            return(game);
        }