Beispiel #1
0
        public void Initialize(Simulator simulator)
        {
            this.simulator = simulator;

            tutorialManager = TutorialManager.Instance;

            scoreKeeper = new ScoreKeeper(baseScore);
            scoreRenderer.SetScoreKeeper(scoreKeeper);
            scoreRenderer.UpdateHighscore();
            chainCounter.SetMaxCracks(simulator.CracksPerChain);
            chainCounter.RenderInitialChain();

            boardManipulator.LastToolUsed += OnLastToolUsed;
            simulator.ReactionLocked      += OnReactionLocked;
            simulator.ReactionUnlocked    += OnReactionUnlocked;

            KickOffGameplayLoop();
        }