Пример #1
0
        private void Initialize
        (
            HexMap.Factory hexMapFactory,
            PrioritizedStartManager startManager
        )
        {
            _hexMapFactory = hexMapFactory;

            startManager.RegisterForStartWithPriority(DoPrioritizedStart);
        }
Пример #2
0
        private void Initialize
        (
            HexMapManager hexMapManager,
            PrioritizedStartManager startManager
        )
        {
            _hexMapManager = hexMapManager;

            startManager.RegisterForStartWithPriority(DoPrioritizedStart, 1);
        }
Пример #3
0
        private void Initialize
        (
            PipeManager pipeManager,
            HexMapManager hexMapManager,
            PrioritizedStartManager startManager
        )
        {
            _pipeManager   = pipeManager;
            _hexMapManager = hexMapManager;

            startManager.RegisterForStartWithPriority(DoPrioritizedStart, 2);
        }