zoom method
- int newSize
Zooms in or out by modifying gridSize.
Implementation
void zoom(int newSize) {
gridSize = newSize;
recenterRover();
}
Zooms in or out by modifying gridSize.
void zoom(int newSize) {
gridSize = newSize;
recenterRover();
}