def animateAvocado2(): global avocado deleteAvocado() drawAvocado() avocado.update( animation=arena.Animation(clip="Walking",loop="pingpong",repetitions=2) )
def animateAvocado(): global avocado deleteAvocado() drawAvocado() avocado.update( animation=arena.Animation(clip="Recuperate",loop="pingpong",repetitions=2,timeScale=4) )