//public void ChangeArea(int ) public Map ChangeArea(int mapID, PositionKey playerPos) { //TODO try in map when experimenting: //movementMod = false; //ChangeArea(replace params with structs) Map map = ZoneList.mapIDList[mapID]; map.InitializePlayerPosition(playerPos.i, playerPos.j); return(map); }
public void CreateZonePoint(PositionKey position, DestinationCoordinates destination) { thisMap[position.i, position.j] = zonePos; zonePoints.Add(position, destination); }