Ejemplo n.º 1
0
 /// <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);
     }
 }
Ejemplo n.º 2
0
 public override void Draw(SpriteBatch spriteBatch, Vector2 spriteLocation, Color color)
 {
     BlockSprite.Draw(spriteBatch, spriteLocation, color);
 }
Ejemplo n.º 3
0
 public virtual void Draw(SpriteBatch spriteBatch, Vector2 location)
 {
     BlockSprite.Draw(spriteBatch, location);
 }
Ejemplo n.º 4
0
 /// <summary>
 /// Draws the sprite.
 /// </summary>
 public virtual void Draw()
 {
     BlockSprite.Draw(game.GameSpriteBatch);
 }