示例#1
0
 public bool HasFreeStockpile(ResourceAmount toPut)
 {
     return(Stockpiles.Any(s => s.IsBuilt && !s.IsFull() && s.IsAllowed(toPut.ResourceType)));
 }
示例#2
0
 public bool IsInStockpile(VoxelHandle v)
 {
     return(Stockpiles.Any(s => s.ContainsVoxel(v)));
 }
示例#3
0
 public bool HasFreeStockpile()
 {
     return(Stockpiles.Any(s => s.IsBuilt && !s.IsFull()));
 }
示例#4
0
        public bool IsInStockpile(Voxel v)
        {
            Voxel vRef = v;

            return(Stockpiles.Any(s => s.ContainsVoxel(vRef)));
        }