Example #1
0
 /// <summary>
 /// cannot change Height/Width
 /// </summary>
 /// <param name="newMap"></param>
 private void SetMap(Map newMap)
 {
     for (int i = 0; i < Height; i++)
     {
         for (int j = 0; j < Width; j++)
         {
             map[i, j].SetTile(newMap.map[i, j]);
         }
     }
     ClusterIdList.SetClusterIdList(newMap.ClusterIdList);
 }