Beispiel #1
0
        public override void RunLevel(int number = 0)
        {
            if (number >= 0)
            {
                if (!_startLevel)
                {
                    _startLevel = !_startLevel;

                    ActivateLevel(number);
                }
                else
                {
                    if (_pauseLevel)
                    {
                        _pauseLevel = !_pauseLevel;

                        itemsManager.StartControl();
                        playerManager.StartControl();
                        levelStopWatch.Continue();
                    }
                }
            }
        }