示例#1
0
    public IEnumerable <Cell> GetOpenCells()
    {
        FreeFilledReservedCells();

        return(ZoneCells.GetCells()
               .Where(CellCanHoldItem)
               .Except(_reservedCells));
    }
示例#2
0
 internal Cell GetLocation()
 {
     return(ZoneCells.GetCells()[0]);
 }
示例#3
0
 public int GetMaxItemCapacity()
 {
     return(ZoneCells.GetCells().Count);
 }