Exemplo n.º 1
0
 public static void RemoveBulkCollapsingRoofs(List <IntVec3> nearCells, Map map)
 {
     for (int i = 0; i < nearCells.Count; i++)
     {
         RoofCollapseCellsFinder.ProcessRoofHolderDespawned(new CellRect(nearCells[i].x, nearCells[i].z, 1, 1), nearCells[i], map, true, true);
     }
 }
Exemplo n.º 2
0
 public static void Notify_RoofHolderDespawned(Thing t, Map map)
 {
     if (Current.ProgramState == ProgramState.Playing)
     {
         RoofCollapseCellsFinder.ProcessRoofHolderDespawned(t.OccupiedRect(), t.Position, map, false, false);
     }
 }