Beispiel #1
0
        public static void ApplyGameConfigParams(IGame game)
        {
            if (!GameHelper.IsValidForGame(game))
            {
                return;
            }

            if (GameHelper.IsGameConfigured(game))
            {
                SetGameConfigParams(game);
            }

            if (!GameHelper.IsGameConfigured(game))
            {
                ClearGameConfigParams(game);
            }
        }
Beispiel #2
0
 public bool GetIsValidForGame(IGame selectedGame)
 {
     Configurator.ApplyGameConfigParams(selectedGame);
     return(GameHelper.IsValidForGame(selectedGame));
 }