public bool HasFreeStockpile(ResourceAmount toPut) { return(Stockpiles.Any(s => s.IsBuilt && !s.IsFull() && s.IsAllowed(toPut.ResourceType))); }
public bool IsInStockpile(VoxelHandle v) { return(Stockpiles.Any(s => s.ContainsVoxel(v))); }
public bool HasFreeStockpile() { return(Stockpiles.Any(s => s.IsBuilt && !s.IsFull())); }
public bool IsInStockpile(Voxel v) { Voxel vRef = v; return(Stockpiles.Any(s => s.ContainsVoxel(vRef))); }