Example #1
0
 public PopupViewModel(GameTranslator gameTranslator) : base(gameTranslator)
 {
     try
     {
         _defaultColors[0] = GraphicHelper.DefaultPositiveButtonColor;
         _defaultColors[1] = GraphicHelper.DefaultNegativeButtonColor;
         _defaultColors[2] = GraphicHelper.DefaultCancelButtonColor;
     }
     catch (Exception e)
     {
         this.Log($"Exception occur during constructing PopupViewModel. \n{e}", LogLevel.Error);
     }
 }
Example #2
0
 public LocaleViewModel(GameTranslator gameTranslator)
 {
     _gameTranslator = gameTranslator;
 }