Пример #1
0
 private static List <IRoof> AffirmRoofList(InsideCheck.GridPosition position)
 {
     InsideCheck.GridCell gridCell = InsideCheck.AffirmGridCell(position);
     if (gridCell.roofs == null)
     {
         gridCell.roofs = new List <IRoof>();
     }
     return(gridCell.roofs);
 }
Пример #2
0
 private static List <InsideCheck.WallChunk> AffirmWallList(InsideCheck.GridPosition position)
 {
     InsideCheck.GridCell gridCell = InsideCheck.AffirmGridCell(position);
     if (gridCell.walls == null)
     {
         gridCell.walls = new List <InsideCheck.WallChunk>();
     }
     return(gridCell.walls);
 }