Example #1
0
        //Initializes the game for each level.
        void InitGame()
        {
            //Clear any Enemy objects in our List to prepare for next level.
            enemies.Clear();

            //Call the SetupScene function of the BoardManager script, pass it current level number.
            boardScript.BoardSetup();

            doingSetup = false;
        }