Rotates the ports 90 degrees. Useful when using the default port setup but the spectator is watching
        at a "rotated" angle from "true north".

def rotate_ports(self):
        """
        Rotates the ports 90 degrees. Useful when using the default port setup but the spectator is watching
        at a "rotated" angle from "true north".
        """
        for port in self.ports:
            port.tile_id = ((port.tile_id + 1) % len(hexgrid.coastal_tile_ids())) + 1
            port.direction = hexgrid.rotate_direction(hexgrid.EDGE, port.direction, ccw=True)
        self.notify_observers()