/*  void assignPropertiesToWorld(int shift){
     *   for (int i = 0; i < 4; i++){
     *       boardRanges[i] = properties.ranges[(i+shift)%4];
     *       boardFireRates[i] = properties.fireRates[(i+shift)%4];
     *       boardDamages[i] = properties.damages[(i+shift)%4];
     *       boardBulletPrefabs[i] = properties.bulletPrefabs[(i+shift)%4];
     *   }
     * } */

    void Shoot(Transform target, GameObject bulletType, int boardNum)
    {
        GameObject bulletGO = (GameObject)Instantiate(bulletType, firePoint.position, firePoint.rotation);

        bulletGO.transform.parent = WaveSpawner.boards[boardNum].Find("Projectiles");

        Bullet bullet = bulletGO.GetComponent <Bullet>();

        if (bullet != null)
        {
            bullet.boardID = boardNum;
            bullet.Seek(target);
        }
        bulletGO.transform.GetComponent <Renderer>().enabled = false;
        graphics.addRenderer(bulletGO.transform.GetComponent <Renderer>(), boardNum);
    }