Пример #1
0
 /// <summary>
 /// 'Delete' a cell in the blueprint by returning it to
 /// </summary>
 /// <param name="i"></param>
 /// <param name="j"></param>
 /// <param name="room"></param>
 protected void DeleteCell(int i, int j, Room room)
 {
     if (Blueprint.Exists(i, j))
     {
         BlueprintCell cell = Blueprint[i, j];
         if (cell.Room == room)
         {
             cell.Room           = null;
             cell.GenerationType = CellGenerationType.Untouched;
         }
     }
 }