public static Animation GetSingleTextureAnimation(string name, AnimationTexture animationTexture)
            {
                animationTexture.SetTime(0, 1);

                var anim = new Animation(name, new AnimationTexture[] { animationTexture });

                anim._PlayTime = 1000;
                anim.Width     = animationTexture.SourceRect.Width;
                anim.Height    = animationTexture.SourceRect.Height;

                return(anim);
            }
            public static Animation GetSingleTextureAnimation(string name, ISprite texture)
            {
                AnimationTexture animationTexture = new AnimationTexture();

                animationTexture.SetTime(0, 1);
                animationTexture.Position   = new Vector2(0, 0);
                animationTexture.SourceRect = new Rectangle(0, 0, texture.Width, texture.Height);
                animationTexture.Texture    = texture;

                var anim = new Animation(name, new AnimationTexture[] { animationTexture });

                anim._PlayTime = 1000;
                anim.Width     = texture.Width;
                anim.Height    = texture.Height;

                return(anim);
            }