Esempio n. 1
0
 def update(self):
     if chance(10):
         direct = self.hunt(True)
         Movable.move(self,direct)
     else:
         if not self.vector:
             Walker.update(self)
Esempio n. 2
0
 def update(self):
     if chance(10):
         direct = self.hunt(True)
         Movable.move(self, direct)
     else:
         if not self.vector:
             Walker.update(self)
Esempio n. 3
0
 def update(self):
     Movable.move(self, self.direct)
     Temporary.update(self)
Esempio n. 4
0
 def Move(self, vector, destination):
         Movable.move(self, vector, destination)
Esempio n. 5
0
 def update(self):
     Movable.move(self, self.direct)
     Temporary.update(self)
Esempio n. 6
0
 def Move(self, vector, destination):
     Movable.move(self, vector, destination)