/// <summary> /// Draws the sprite. Override to add functionality. Call last. /// </summary> /// <param name="spriteBatch">The sprite batch to draw with.</param> public virtual void Draw() { if (IsVisible) { BlockSprite.Draw(game.GameSpriteBatch); } }
public override void Draw(SpriteBatch spriteBatch, Vector2 spriteLocation, Color color) { BlockSprite.Draw(spriteBatch, spriteLocation, color); }
public virtual void Draw(SpriteBatch spriteBatch, Vector2 location) { BlockSprite.Draw(spriteBatch, location); }
/// <summary> /// Draws the sprite. /// </summary> public virtual void Draw() { BlockSprite.Draw(game.GameSpriteBatch); }