Renamed Map to CityMap
This commit is contained in:
@ -10,7 +10,7 @@ using UnityEngine;
|
||||
namespace TransportGame.Model
|
||||
{
|
||||
[XmlRoot("map")]
|
||||
public class Map
|
||||
public class CityMap
|
||||
{
|
||||
private float[,] heightmap;
|
||||
|
||||
@ -108,7 +108,7 @@ namespace TransportGame.Model
|
||||
/// <remarks>
|
||||
/// Warning: heights array will be null.
|
||||
/// </remarks>
|
||||
public Map()
|
||||
public CityMap()
|
||||
{
|
||||
PopulationCenters = new List<Vector2>();
|
||||
}
|
||||
@ -118,7 +118,7 @@ namespace TransportGame.Model
|
||||
/// </summary>
|
||||
/// <param name="width">Width</param>
|
||||
/// <param name="height">Height</param>
|
||||
public Map(int width, int height)
|
||||
public CityMap(int width, int height)
|
||||
{
|
||||
heightmap = new float[width, height];
|
||||
PopulationCenters = new List<Vector2>();
|
Reference in New Issue
Block a user