mirrorVerticalLeftRight method
It takes the first three columns of the cross and mirrors them to the last three columns
Returns: A boolean value.
Implementation
bool mirrorVerticalLeftRight() {
for (final int i in 0.rangeTo(2)) {
for (final int j in 0.rangeTo(5)) {
if (_shape.grid[j][i] != 0 && _shape.grid[j][5 - i] == 0) {
_shape.grid[j][5 - i] = _shape.grid[j][i];
}
}
}
return true;
}