public bool CheckWallValid(LotTilePos pos, WallTile wall) { var objs = SetToNextCache.GetObjectsAt(pos); if (objs == null) return true; foreach (var obj in objs) { if (obj.WallChangeValid(wall, obj.Direction, false) != VMPlacementError.Success) return false; } return true; }