Updates the boundries for the navigate method.
void updateBounds(double newX, double newY) { maxX = -newX; maxY = -newY; }