mirrorHorizontalUpDown method
It takes the top half of the cross and mirrors it to the bottom half
Returns: A boolean value.
Implementation
bool mirrorHorizontalUpDown() {
for (final int i in 0.rangeTo(2)) {
for (final int j in 0.rangeTo(5)) {
if (_shape.grid[i][j] != 0 && _shape.grid[5 - i][j] == 0) {
_shape.grid[5 - i][j] = _shape.grid[i][j];
}
}
}
return true;
}