Auto Callout
Functions
Link copied to clipboard
fun buildCalloutForIntersections(userGeometry: UserGeometry, gridState: GridState): List<PositionedString>
Link copied to clipboard
fun updateLocation(userGeometry: UserGeometry, gridState: GridState, settlementGrid: GridState): List<PositionedString>
updateLocation is called whenever the current location changes. It works through the auto callout logic to determine which (if any) callouts need to be made. This is based on the iOS app logic.