Exemplo n.º 1
0
        public Games(String steamInstallDir)
        {
            gameListingParsers = new List <IGameListingParser>();
            GamesToPick        = new Dictionary <String, Game>();

            IGameListingParser parser = new SimpleValveGameParser(steamInstallDir);

            gameListingParsers.Add(parser);

            var thirdPartyParser = new ThirdPartyGameParser();

            ThirdParty = thirdPartyParser.thirdPartyGames;

            gameListingParsers.Add(thirdPartyParser);

            UpdateGameList();
        }
Exemplo n.º 2
0
        public Games()
        {
            gameListingParsers = new List <IGameListingParser>();
            games = new Dictionary <String, Game>();

            IGameListingParser parser = new SimpleValveGameParser(Properties.Settings.Default.SteamInstallDirectory);

            gameListingParsers.Add(parser);

            var thirdPartyParser = new ThirdPartyGameParser();

            thirdParty = thirdPartyParser.thirdPartyGames;

            gameListingParsers.Add(thirdPartyParser);

            MergeGamesLists();
        }