public TableOverlayManagerSut(
     IPokerRoomInfoLocator pokerRoomInfoLocator,
     ILayoutManager layoutManager,
     ISeatMapper seatMapper,
     IOverlayToTableAttacher overlayToTableAttacher,
     ITableOverlayViewModel tableOverlay,
     ITableOverlayWindowManager tableOverlayWindow)
     : base(pokerRoomInfoLocator, layoutManager, seatMapper, overlayToTableAttacher, tableOverlay, tableOverlayWindow)
 {
 }
Exemple #2
0
 public TableOverlayManager(
     IPokerRoomInfoLocator pokerRoomInfoLocator,
     ILayoutManager layoutManager,
     ISeatMapper seatMapper,
     IOverlayToTableAttacher overlayToTableAttacher,
     ITableOverlayViewModel tableOverlay,
     ITableOverlayWindowManager tableOverlayWindow)
 {
     _pokerRoomInfoLocator   = pokerRoomInfoLocator;
     _layoutManager          = layoutManager;
     _seatMapper             = seatMapper;
     _overlayToTableAttacher = overlayToTableAttacher;
     _tableOverlay           = tableOverlay;
     _tableOverlayWindow     = tableOverlayWindow;
 }
        public ITableOverlayViewModel InitializeWith(
            ISeatMapper seatMapper,
            ITableOverlaySettingsViewModel overlaySettings,
            IGameHistoryViewModel gameHistory,
            IPokerTableStatisticsViewModel pokerTableStatisticsViewModel,
            string heroName,
            int showHoleCardsDuration)
        {
            _seatMapper = seatMapper;
            GameHistory = gameHistory;
            PokerTableStatisticsViewModel = pokerTableStatisticsViewModel;
            _heroName = heroName;
            _showHoleCardsDuration = showHoleCardsDuration;

            CreatePlayerOverlays(overlaySettings.TotalSeats);

            InitializeOverlaySettings(overlaySettings);

            RegisterEvents();

            return(this);
        }