public bool checkForAdjacentBlocksInShape(Block b) { foreach (var box in _shapeList) { if ((box.x_pos != b.x_pos) && (box.y_pos != b.y_pos)) { return true; } else {continue;} } return false; }
public void convertShapeToBlocks() { foreach (var box in _shape._shapeList) { Block block = new Block(box.x_pos, box.y_pos, box.color); _board.Add(block); } }