Skip to main content

Interface: FacilityWaypointCache

A cache of facility waypoints.

Implemented by

Methods

get

get<T>(facility): FacilityWaypoint<T>

Gets a waypoint from the cache for a specific facility. If one does not exist, a new waypoint will be created.

Type parameters

NameType
Textends Facility

Parameters

NameTypeDescription
facilityFacilityThe facility for which to get a waypoint.

Returns

FacilityWaypoint<T>

A waypoint.

Defined in

src/sdk/navigation/FacilityWaypointCache.ts:13