public Map(string mapID) { MapID = mapID; Tile = new Tile[20, 15]; OriginalTiles = new Maps.Tile[20, 15]; Npc = new List<MapNpcSettings>(); MapItems = new MapItem[MaxInfo.MaxMapItems]; MapNpcs = new MapNpc[MaxInfo.MAX_MAP_NPCS]; Loaded = false; for (int i = 0; i < MaxInfo.MAX_MAP_NPCS; i++) { MapNpcs[i] = new MapNpc(); } for (int i = 0; i < MaxInfo.MaxMapItems; i++) { MapItems[i] = new MapItem(); } }
public Map(string mapID) { MapID = mapID; Tile = new Tile[20, 15]; OriginalTiles = new Maps.Tile[20, 15]; Npc = new List <MapNpcSettings>(); MapItems = new MapItem[MaxInfo.MaxMapItems]; MapNpcs = new MapNpc[MaxInfo.MAX_MAP_NPCS]; Loaded = false; for (int i = 0; i < MaxInfo.MAX_MAP_NPCS; i++) { MapNpcs[i] = new MapNpc(); } for (int i = 0; i < MaxInfo.MaxMapItems; i++) { MapItems[i] = new MapItem(); } }