Example #1
0
def animate(i):

    global id
    id = raf(animate)
    jogador_agente()
    document['tabelajogo'] <= gerarCampoVisao(jogo.tabuleiro)
Example #2
0
 def update(self,i):
         raf(self.update)
         self.moveAlong()
Example #3
0
 def update(self, i):
     raf(self.update)
     self.moveAlong()
Example #4
0
def _loop(i):  # necessary for request_animation_frame
    global raf_id
    raf_id = raf(_loop)
    if screen.watchdog:
        _abort()
    screen.loop()
Example #5
0
 def animate(i):
     global id
     id = raf(animate)
     draw()
Example #6
0
 def walk_repeat(self, ev=None):
     global id
     id = raf(self.walk_repeat)
     self.walk_an_interval()