public void SpawnObjects(Map levelMap)
    {
        GameObject temp2 = Instantiate(placeholderPrefab, this.transform.position, Quaternion.identity) as GameObject;

        temp2.transform.SetParent(this.gameObject.transform);
        for (int x = 0; x < levelMap.MapWidth; x++)
        {
            for (int y = 0; y < levelMap.MapHeight; y++)
            {
                if ((levelMap.Get(x, y) & 4) > 0)
                {
                    var entity = levelMap.Get(x, y) >> 10;

                    for (int i = 0; i < spawnObjects.Length; i++)
                    {
                        if (spawnObjects[i].Key == entity)
                        {
                            if (spawnObjects[i].Name == "ExitPoint")
                            {
                                continue;
                            }
                            if (spawnObjects[i].Prefab)
                            {
                                SpriteGetter Temp = Instantiate(spawnObjects[i].Prefab, new Vector2(x, y), Quaternion.identity);
                                Temp.tManager = tManager;
                                Temp.gameObject.transform.SetParent(temp2.transform);
                            }
                            break;
                        }
                    }
                }
            }
        }
    }
 public void SetTurretModule(TurretModule turretModule)
 {
     this.turretModule = turretModule;
     spriteGetter      = this.turretModule.GetComponentInChildren <SpriteGetter>();
 }