Exemplo n.º 1
0
    public void BuildObjectsOfCell(VirtualMap map, VirtualCell cell, int storey)
    {
//		BuildObject(map,cell.starting_location,storey,cell.Type,cell.Orientation);
        //		foreach(VirtualCell.CellType t in cell.GetSubTypes()) BuildObject(map,cell.starting_location,storey,t,cell.Orientation);
        foreach (CellInstance ci in cell.GetCellInstances())
        {
            BuildObject(map, cell.location, storey, ci.type, ci.dir);
        }
    }