More accurate switch-wpt index for escort split-trigger

This commit is contained in:
Raffson
2024-01-20 02:55:13 +01:00
parent 181f8583d5
commit f548b27ac5
3 changed files with 11 additions and 24 deletions

View File

@@ -95,6 +95,13 @@ class FlightType(Enum):
FlightType.SEAD_SWEEP,
}
@property
def is_escort_type(self) -> bool:
return self in {
FlightType.ESCORT,
FlightType.SEAD_ESCORT
}
@property
def entity_type(self) -> AirEntity:
return {