Renamed Map to CityMap
This commit is contained in:
@ -14,10 +14,10 @@ namespace TransportGame.Unity
|
||||
public Texture2D[] Textures { get; set; }
|
||||
|
||||
private GameObject parent = new GameObject("buildings");
|
||||
private Map map;
|
||||
private CityMap map;
|
||||
private System.Random random = new System.Random();
|
||||
|
||||
public IEnumerable Generate(Map map)
|
||||
public IEnumerable Generate(CityMap map)
|
||||
{
|
||||
this.map = map;
|
||||
int i = 0;
|
||||
|
@ -35,7 +35,7 @@ namespace TransportGame.Unity
|
||||
|
||||
#region Private fields
|
||||
|
||||
private Map map;
|
||||
private CityMap map;
|
||||
|
||||
private Dictionary<int, Vector2[]> segmentTerminal1Limit = new Dictionary<int, Vector2[]>();
|
||||
private Dictionary<int, Vector2[]> segmentTerminal2Limit = new Dictionary<int, Vector2[]>();
|
||||
@ -47,7 +47,7 @@ namespace TransportGame.Unity
|
||||
public Material RoadMaterial { get; set; }
|
||||
public Material SidewalkMaterial { get; set; }
|
||||
|
||||
public IEnumerable Generate(Map map)
|
||||
public IEnumerable Generate(CityMap map)
|
||||
{
|
||||
this.map = map;
|
||||
|
||||
|
@ -9,7 +9,7 @@ using UnityEngine;
|
||||
|
||||
public class TerrainGeneratorScript : MonoBehaviour
|
||||
{
|
||||
private Map map = null;
|
||||
private CityMap map = null;
|
||||
|
||||
public int TerrainWidth = 1024;
|
||||
public int TerrainHeight = 1024;
|
||||
|
Reference in New Issue
Block a user