2016-05-26 1 views

Répondre

0

Ajoutez l'animation à un acteur et ajoutez l'action correspondante.

public class AnimationWithAction extends Actor { 
    Animation animation = new Animation(5, textures); 
} 

AnimationWithAction anim = new AnimationWithAction(); 
anim.addAction(youraction);