예제 #1
0
 public Arma2COGame(Guid id, GameSettingsController settingsController, Arma2Game arma2Game,
     Arma2FreeGame arma2FreeGame)
     : this(
         id,
         new Arma2CoSettings(id, new ArmaStartupParams(DefaultStartupParameters), settingsController,
             arma2Game.Settings, arma2FreeGame.Settings)) {
     _arma2FreeGame = arma2FreeGame;
     _arma2Game = arma2Game;
 }
예제 #2
0
        public void SetUp() {
            var gsc = new GameSettingsController();

            _gameo = new Arma2Game(Guid.NewGuid(), gsc);
            _settingso = _gameo.Settings;
            _settingso.Directory = @"C:\temp".ToAbsoluteDirectoryPath();

            _game = new Arma2COGame(Guid.NewGuid(), gsc, _gameo, A.Fake<Arma2FreeGame>());
            _settings = _game.Settings;
            _settings.Directory = @"C:\temp".ToAbsoluteDirectoryPath();
        }
예제 #3
0
 public AllInArmaGames(Arma1Game arma1Game, Arma2Game arma2Game, Arma2FreeGame arma2FreeGame,
     Arma2OaGame arma2OaGame,
     TakeOnHelicoptersGame takeOnHelicoptersGame) {
     Arma1 = arma1Game;
     Arma2 = arma2Game;
     Arma2Free = arma2FreeGame;
     Arma2Oa = arma2OaGame;
     TakeOn = takeOnHelicoptersGame;
     _games = new Game[] {arma1Game, arma2FreeGame, arma2Game, arma2OaGame, takeOnHelicoptersGame};
     _gamesSupportModding = _games.OfType<ISupportModding>().ToArray();
 }
예제 #4
0
 public void SetUp() {
     _game = new Arma2Game(Guid.NewGuid(), new GameSettingsController());
     _settings = _game.Settings;
     _settings.Directory = @"C:\temp".ToAbsoluteDirectoryPath();
 }