Renamed Map to CityMap

This commit is contained in:
2015-06-17 12:07:02 +03:00
parent c40690eb85
commit 670f260a4c
23 changed files with 30 additions and 39 deletions

View File

@ -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>();