Class PoiArrivalExtensions
- Namespace
- XENBIT.ResQueServe.Core.Extensions
- Assembly
- RQS.Core.dll
public static class PoiArrivalExtensions
- Inheritance
-
PoiArrivalExtensions
- Inherited Members
Methods
GetArrivalCoordinates(IPoi, PoiHospitalDepartment?, bool)
Where a unit arrives at the hospital for the department: a helicopter on its landing zone (see GetHelicopterLandingZone(IPoi, PoiHospitalDepartment?)), otherwise on the coordinates of the hospital; any other unit at the entrance of the department, otherwise at the coordinates of the hospital.
public static Coordinates GetArrivalCoordinates(this IPoi hospital, PoiHospitalDepartment? department, bool isHelicopter)
Parameters
hospitalIPoidepartmentPoiHospitalDepartment?isHelicopterbool
Returns
GetHelicopterLandingZone(IPoi, PoiHospitalDepartment?)
The POI where helicopters land at the hospital for the department: the landing zone of the department, otherwise of the hospital; null if helicopters land on the coordinates of the hospital.
public static IPoi? GetHelicopterLandingZone(this IPoi hospital, PoiHospitalDepartment? department)
Parameters
hospitalIPoidepartmentPoiHospitalDepartment?
Returns
GetHelicopterLandingZoneOrCoordinates(IPoi)
Where helicopters land at the POI: its helicopter landing zone if set, otherwise its coordinates.
public static Coordinates GetHelicopterLandingZoneOrCoordinates(this IPoi poi)
Parameters
poiIPoi
Returns
GetHomePosition(IUnit)
Where the unit stands at its station: a helicopter on the landing zone of the station.
public static Coordinates GetHomePosition(this IUnit unit)
Parameters
unitIUnit