CarpMuffin.Sprites.AnimatedSprite.Draw C# (CSharp) Method

Draw() public method

public Draw ( SpriteBatch spriteBatch ) : void
spriteBatch Microsoft.Xna.Framework.Graphics.SpriteBatch
return void
        public override void Draw(SpriteBatch spriteBatch)
        {
            if (!IsVisible) return;
            if (Texture == null) return;
            spriteBatch.Draw(Texture, Bounds, SourceRectangle, Tint);
        }