示例#1
0
        public void Begin(PoolManager poolManager, DeadDogSignal deadSignal, RestartSignal restartSignal, TextManager displayText)
        {
            _poolManager = poolManager;
            _displayText = displayText;

            _deadSignal = deadSignal;
            _deadSignal.Listen(stopCreation);

            _restartSignal = restartSignal;
            _restartSignal.Listen(startCreation);
        }