コード例 #1
0
 public TableOverlayManagerSut(
     IPokerRoomInfoLocator pokerRoomInfoLocator,
     ILayoutManager layoutManager,
     ISeatMapper seatMapper,
     IOverlayToTableAttacher overlayToTableAttacher,
     ITableOverlayViewModel tableOverlay,
     ITableOverlayWindowManager tableOverlayWindow)
     : base(pokerRoomInfoLocator, layoutManager, seatMapper, overlayToTableAttacher, tableOverlay, tableOverlayWindow)
 {
 }
コード例 #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;
 }
コード例 #3
0
        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);
        }