findPortal

public abstract Location findPortal(Location location)

Attempt to find getClassById portal near the given location.

Return

the location of the nearest portal to the location

Parameters

location

the desired location of the portal