void fireShell()
    {
        explosiveBullet shot = ((GameObject)Instantiate(enemyShell, barrelEnd.position, transform.rotation)).GetComponent <explosiveBullet> ();

        shot.explosionTime = 1.25f;
        shot.isEnemy       = true;
    }
 void OnTriggerEnter2D(Collider2D col)
 {
     if (prePlace == false)
     {
         if (col.gameObject.tag == "Enemy" || col.gameObject.tag == "lieutenantEnemy" || col.gameObject.tag == "bossEnemy")                         //if the minion reaches the firing position
         {
             explosiveBullet shot = ((GameObject)Instantiate(explosive, transform.position, transform.rotation)).GetComponent <explosiveBullet> (); //instanciating enemy bullet
             shot.explosionTime = 0;
             Destroy(this.gameObject);
         }
     }
 }