Blink.Classes.Animation.Draw C# (CSharp) Method

Draw() public method

public Draw ( SpriteBatch sb ) : void
sb Microsoft.Xna.Framework.Graphics.SpriteBatch
return void
        public void Draw(SpriteBatch sb)
        {
            if (directionFacing == 1)
                sb.Draw(sheet, pos, frame, Color.White);
            else
                sb.Draw(sheet, pos, frame, Color.White, 0f, new Vector2(), 1f, SpriteEffects.FlipHorizontally,0f);
        }