Inheritance: Arma2Game, IHaveDlc
コード例 #1
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();
 }
コード例 #2
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();
 }
コード例 #3
0
 public void SetUp() {
     _game = new Arma2OaGame(Guid.NewGuid(), new GameSettingsController());
     _settings = _game.Settings;
     _settings.Directory = @"C:\temp".ToAbsoluteDirectoryPath();
 }