Category5.Animation.FastDraw C# (CSharp) Method

FastDraw() public method

Draw a frame of the animation to the screen at given location by rectangle bounds without rotation
public FastDraw ( SpriteBatch sBatch, Rectangle dest ) : void
sBatch Microsoft.Xna.Framework.Graphics.SpriteBatch
dest Microsoft.Xna.Framework.Rectangle
return void
        public void FastDraw(SpriteBatch sBatch, Rectangle dest)
        {
            sBatch.Draw(texture, dest, color);
        }