コード例 #1
0
ファイル: waypoint.py プロジェクト: robertgrubba/igc2kmz
 def __init__(self, name, lat, lon, ele, description=None):
     Coord.__init__(self, lat, lon, ele)
     self.name = name
     self.description = description
コード例 #2
0
    def __init__(self, x=0, y=0):

        Coord.__init__(self, x, y)
        self.coord_type = 'pixel'
コード例 #3
0
ファイル: utils.py プロジェクト: coffee-cup/battlesnake-2017
 def __init__(self, c, type):
     Coord.__init__(self, c)
     self.cell_type = 'wall' if type == 1 else 'body' if type == 2 else 'head' if type == 3 else 'open'
     self.visited = False
コード例 #4
0
 def __init__(self, x=0, y=0):
     Coord.__init__(self, x, y)
コード例 #5
0
 def __init__(self, c, type):
     Coord.__init__(self, c)
     self.wall = type
     self.visited = False
コード例 #6
0
ファイル: waypoint.py プロジェクト: Iv/igc2kmz
 def __init__(self, name, lat, lon, ele, description=None):
     Coord.__init__(self, lat, lon, ele)
     self.name = name
     self.description = description