public bool isCompatibleWithCell(CellBase cell) { return((cell.isEmptyCell() && BuildableIn.Any(a => a.GetType() == cell.CellType.GetType())) || (!cell.isEmptyCell() && cell.CurrentBuilding.UpgradableTo.Any(a => a.GetType() == GetType()))); }