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()
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()
def __init__( self ): Robot.__init__( self ) self._alive = True # Inicia o robot self.init()