introduce the runway

This commit is contained in:
Sven Czarnian committed 2021-10-12 22:29:15 +02:00
1 parent a0b00f7c42
commit e5a773cdcb
1 file changed
+12
+12
View File
@@ -0,0 +1,12 @@
#!/usr/bin/env python
from aman.types.Waypoint import Waypoint
class Runway:
def __init__(self, start : Waypoint, end : Waypoint):
self.name = start.name
self.start = start
self.end = end
def heading(self):
return self.start.bearing(self.end)