Example #1
0
 def __init__( self, robot, locator ):
     SteeringBehaviour.__init__( self, robot )
     self.locator = locator
     self.targetPos = Vector2D( 0, 0 )
Example #2
0
 def __init__( self, wanderRate = 0.7 ):
     SteeringBehaviour.__init__( self )
     self.setWanderRate( wanderRate )
     self.wanderTargetAngle = 0.0
Example #3
0
 def __init__( self, robot ):
     SteeringBehaviour.__init__( self, robot )
     self.numMovesRemaining = 0
     self.numMoveTicksRemaining = 0
     self.moveSteeringResult = ( 0.0, 0.0 )
Example #4
0
 def __init__(self, robot):
     SteeringBehaviour.__init__(self, robot)