mirror of
https://github.com/dcs-liberation/dcs_liberation.git
synced 2025-11-10 14:22:26 +00:00
CasIngressBuilder proper inheritence
This commit is contained in:
parent
62d89239fc
commit
1e5bd916d9
@ -1165,10 +1165,9 @@ class IngressBuilder(PydcsWaypointBuilder):
|
|||||||
self.set_waypoint_tot(waypoint, self.timing.ingress)
|
self.set_waypoint_tot(waypoint, self.timing.ingress)
|
||||||
return waypoint
|
return waypoint
|
||||||
|
|
||||||
class CasIngressBuilder(PydcsWaypointBuilder):
|
class CasIngressBuilder(IngressBuilder):
|
||||||
def build(self) -> MovingPoint:
|
def build(self) -> MovingPoint:
|
||||||
waypoint = super().build()
|
waypoint = super().build()
|
||||||
self.set_waypoint_tot(waypoint, self.timing.ingress)
|
|
||||||
ingress_waypoint = self.get_flight_point('INGRESS')
|
ingress_waypoint = self.get_flight_point('INGRESS')
|
||||||
cas_waypoint = self.get_flight_point('CAS')
|
cas_waypoint = self.get_flight_point('CAS')
|
||||||
try:
|
try:
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user