Inheritance: ArmaGame
コード例 #1
0
ファイル: Arma2COGame.cs プロジェクト: dkv01/withSIX.Desktop
 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
ファイル: Arma3Game.cs プロジェクト: dkv01/withSIX.Desktop
 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 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();
 }
コード例 #5
0
 public void SetUp() {
     _game = new Arma2Game(Guid.NewGuid(), new GameSettingsController());
     _settings = _game.Settings;
     _settings.Directory = @"C:\temp".ToAbsoluteDirectoryPath();
 }