Exemple #1
0
        private int mAnimationIndex;                // The index into the animation array.

        public AnimatedSprite(Guid id, AnimationData startAnimation, int startY = 0)
            : base(id, startAnimation[0], startY)
        {
            mAnimation      = startAnimation;
            mAnimationIndex = 0;
        }