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