moveCameraToZone method

void moveCameraToZone(
  1. Zone zone
)

Moves the camera to focus on a specific zone.

zone is the zone whose coordinates will be focused on in the map.

Implementation

void moveCameraToZone(Zone zone) {
  _moveCameraToZone(zone.coordinates);
}