Inheritance: ArmaGame
コード例 #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, arma2Game, arma2OaGame, takeOnHelicoptersGame }; // arma2FreeGame,
     _gamesSupportModding = new Game[] { arma1Game, arma2Game, arma2OaGame, takeOnHelicoptersGame };
     //_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, arma2Game, arma2OaGame, takeOnHelicoptersGame}; // arma2FreeGame, 
     _gamesSupportModding = new Game[] {arma1Game, arma2Game, arma2OaGame, takeOnHelicoptersGame};
     //_games.OfType<ISupportModding>().ToArray();
 }