//Update is called every frame.
        void Update()
        {
            //Check that playersTurn or enemiesMoving or doingSetup are not currently true.
            if (playersTurn || enemiesMoving || doingSetup)
            {
                //If any of these are true, return and do not start MoveEnemies.
                return;
            }

            //Start moving enemies.
            boardScript.SpawnBullet(boardScript.enemyTiles);
            StartCoroutine(MoveEnemies());
            //StartCoroutine(MoveAllies());
        }