public virtual void OnDeath()
    {
        if (board.IsBossRoom)
        {
            board.CreateRandomExit();
        }

        if (board.IsBossRoom && GameManager.instance.CheckIfTutorial() == false)
        {
            board.CreateSword();
            board.CreateArmor();
        }

        playerReference.GainXP(experienceValue);
        hpBar2.DestroyBar();
        GameManager.instance.RemoveEnemyFromlist(this);
        Destroy(gameObject);
    }