예제 #1
0
파일: combat.py 프로젝트: hsoula/opcon
 def GetFootprint(self, E):
     # Generate a circular footprint based on the radius
     return geom.circle(E.Position().AsVect(), self['footprint'])
예제 #2
0
파일: combat.py 프로젝트: hsoula/opcon
 def GetFootprint(self, E):
   # Generate a circular footprint based on the radius
   return geom.circle(E.Position().AsVect(),self['footprint'])
예제 #3
0
파일: combat.py 프로젝트: hsoula/opcon
 def GetFootprint(self, E):
     ''' Returns the footprint of E
 '''
     return geom.circle(E.Position().AsVect(), self.GetFrontage(E['size']))
예제 #4
0
파일: combat.py 프로젝트: hsoula/opcon
 def GetFootprint(self, E):
   ''' Returns the footprint of E
   '''
   return geom.circle(E.Position().AsVect(),self.GetFrontage(E['size']))