mirrorHorizontalDownUp method
It takes the bottom half of the cross and mirrors it to the top half
Returns: A boolean value.
Implementation
bool mirrorHorizontalDownUp() {
for (final int i in 3.rangeTo(5)) {
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;
}