In Motion Welder Library , why are there two version of player to play animation, MSimpleAnimationPlayer and MSpriteAnimationPlayer, and which one to use?
Both MSimpleAnimationPlayer, and MSpriteAnimationPlayer are used to play animation, but only diffrence is the way they interact to play animation. (I) MSimpleAnimationPlayer player = new MSimpleAnimationPlayer(animationData, x,y); (II) MSpriteAnimationPlayer player = new MSpriteAnimationPlayer(animationData, mycharactersprite); In (I) player accepts animation, and ask for where to play that animation, where as in (II), the location, orientation etc is pulled from mycharactersprite (MSprite) object. In case where there is no requirement for a class for a sprite, use of MSimpleAnimationPlayer is preferred. And case where you have class for a sprite, use of MSpriteAnimationPlayer is preferred.