public MainMenuViewModel(IDicePanel dicePanel,
                                 IExternalNavigationService externalNavigationService,
                                 IPlayerService playerService) : base(dicePanel)
        {
            _externalNavigationService = externalNavigationService;
            _playerService             = playerService;

            FillMainActions();
            FillSecondaryActions();
        }
 public DicePanelViewModel(IDicePanel dicePanel)
 {
     DicePanel = dicePanel;
 }
Пример #3
0
 public Die(IDicePanel dicePanel, IGameSettingsService gameSettingsService)
 {
     _dicePanel           = dicePanel;
     _gameSettingsService = gameSettingsService;
 }
 public override void Init()
 {
     base.Init();
     dicePanelMock = Substitute.For <IDicePanel>();
 }