AnimatedSprite.CrossHair.Draw C# (CSharp) Method

Draw() public method

public Draw ( SpriteBatch spriteBatch, Microsoft.Xna.Framework.Graphics.Texture2D tx ) : void
spriteBatch Microsoft.Xna.Framework.Graphics.SpriteBatch
tx Microsoft.Xna.Framework.Graphics.Texture2D
return void
        public override void Draw(SpriteBatch spriteBatch,Texture2D tx)
        {
            base.Draw(spriteBatch,tx);
        }

Usage Example

 public override void Draw(SpriteBatch spriteBatch)
 {
     base.Draw(spriteBatch);
     Site.Draw(spriteBatch);
     if (MyProjectile != null && MyProjectile.ProjectileState != Projectile.PROJECTILE_STATE.STILL)
     {
         MyProjectile.Draw(spriteBatch);
     }
 }