using UnityEngine;
using System.Collections;
using System.Collections.Generic;
namespace YLBattle
{
public class MapData
{
public int id = 0;
public int level = 1;
public string name = "";
public int width = 0;
public int height = 0;
///
/// 场景孵化器
///
public List spawnUnitList { get; set; }
int[,] mapInfo;
public MapData()
{
this.spawnUnitList = new List();
this.mapInfo = new int[,] { { } };
}
public MapData(int mapid)
{
}
public void MapDataCreate()
{
for (int i = 0; i < mapInfo.GetLength(0); i++)
{
for (int j = 0; j < mapInfo.GetLength(1); j++)
{
int id = mapInfo[i, j];
if (id == 0)
{
continue;
}
}
}
}
}
}