예제 #1
0
 def update(self):
     super(Drenji, self).update()
     if (self.goToLoc is None) or self.isMoveTo() is False:
         self.goToLoc = Vector2(Math.rand() * 29, Math.rand() * 29)
예제 #2
0
	def update(self):
		super(Drenji,self).update()
		if (self.goToLoc is None) or self.isMoveTo() is False:
			self.goToLoc = Vector2(Math.rand()*29,Math.rand()*29)