Пример #1
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();
 }
 public void SetUp() {
     _game = new TakeOnHelicoptersGame(Guid.NewGuid(), new GameSettingsController());
     _settings = _game.Settings;
     _settings.Directory = @"C:\temp".ToAbsoluteDirectoryPath();
 }