using System.Collections;
using System.Collections.Generic;
using UnityEngine;

public class LevelGenerator : MonoBehaviour {

	public GameObject startTile;
	public GameObject endTile;
	public GameObject[] pool1;

	public SpriteRenderer[] bg;


	private float camEndX;
	// Use this for initialization
	void Start () {
		Instantiate (startTile);
	}
	
	// Update is called once per frame
	void Update () {
		
	}

	public int tileLvl1() {
//		int i;
//		for (i = 1; i < pool1.Length ; i++) {
//			GameObject tile = Instantiate (pool1[i]);
//			tile.transform.position = new Vector3 (10 + (i * 20), 0, 0);
//		}
//		GameObject end = Instantiate (endTile);
//		//end.transform.position = new Vector3 (10 + (numSegments * 20), 0, 0);
		return 0;
	}
}
