예제 #1
0
 def __init__( self ):
     Robot.__init__( self )
     self._alive = True
     self._hitWall = False
     # Lista com os objectos encontrados no rastreio
     self._targets = []
     # Inicia o robot
     self.init()
예제 #2
0
 def __init__( self ):
     Robot.__init__( self )
     # Enquanto True o robô continua a funcionar
     self._alive = True
     # Controla a direcção do movimento do robô
     self._drection = 1
     # Inicia o robot
     self.init()
예제 #3
0
 def __init__( self ):
     Robot.__init__( self )
     self._alive = True
     # Inicia o robot
     self.init()