예제 #1
0
 public GameStateService(INotationService notationService, IPGNService pgnService, IMoveService moveService, IAttackService attackService)
 {
     _notationService = notationService;
     _pgnService      = pgnService;
     _moveService     = moveService;
     _attackService   = attackService;
 }
예제 #2
0
        //ctor
        public MainViewModel()
        {
            _service = new NotationService();

            InputNotations  = _service.GetNotationsNames();
            OutputNotations = _service.GetNotationsNames();

            SelectedInputNotation  = 0;
            SelectedOutputNotation = 0;
        }