// Update is called once per frame
 void Update()
 {
     if (CurrentHealth <= 0 && Game.BossKilled == false)
     {
         Game.BossKilled = true;
         bossy.BossDead();
         bossy.ResetHealth();
     }
 }
    // Update is called once per frame
    void Update()
    {
        MaxEnemyCount    = roundNumber * 10;
        enemyCount.text  = "Enemies Left:" + EnemyCount.ToString();
        RoundNumber.text = "Round: " + roundNumber.ToString();
        if (EnemyCount <= 0 && BossKilled == true)
        {
            BossKilled = false;
            BossAlive  = false;
            Boss.BossDead();
            roundNumber++;
            Spawner.roundNumber  = roundNumber;
            Spawner.spawnEnemies = true;
            MaxEnemyCount        = roundNumber * 3;

            EnemyCount = MaxEnemyCount - 1;
            BossKilled = false;
        }
        else if (EnemyCount <= 0 && BossAlive == false && BossKilled == false)
        {
            BossAlive = true;
            Boss.respawn(roundNumber);
        }
    }