Пример #1
0
        public SeveralPlayersTrickWPF()
        {
            _animates = new AnimateTrickClass <SU, TC>();
            _animates.LongestTravelTime = 160;
            _thisCanvas         = new TrickCanvas();
            _animates.GameBoard = _thisCanvas;
            EventAggregator thisE = Resolve <EventAggregator>();

            thisE.Subscribe(this);
        }
        public TwoPlayerTrickWPF()
        {
            _animates = new AnimateTrickClass <SU, TC>();
            _animates.LongestTravelTime = 100;
            Height              = 200;
            _thisCanvas         = new TrickCanvas();
            _animates.GameBoard = _thisCanvas;
            IEventAggregator thisE = Resolve <EventAggregator>();

            thisE.Subscribe(this);
        }