public SCArea(SCMap _map, List <SCEntrance> _entrances) { Map = _map; Entrances = _entrances; ChildAreas = new List <SCArea>(); ComposeArea(); }
public SCEntrance(SCMap _map, SCCoords _coords) { Map = _map; Coords = _coords; InstatiateMapData(); DoPathing(); ProcessPointsOfInterest(); }
private void ProcessMap(MapId mapid, List <SCMap> tmpscmaps) { var e1 = maps[(int)mapid]; var ts = tileSets[mapTileSets[mapid]]; SCMapCheckFlags cflags = SCMapCheckFlags.None; if (mapid <= MapId.CastleOfOrdeals1F) { cflags |= SCMapCheckFlags.NoWarp; } if (mapid == MapId.SkyPalace2F) { cflags |= SCMapCheckFlags.NoUseTiles; } SCMap scmap = new SCMap(mapid, e1, cflags, rom, npcdata, ts, enter, exit, tele); tmpscmaps.Add(scmap); }