public override void Draw(GameTime gameTime, SpriteBatch spriteBatch) { if (image != null) { image.Draw(gameTime, spriteBatch); } }
protected override void Draw(GameTime gameTime) { GraphicsDevice.Clear(Color.Black); spriteBatch.Begin(SpriteSortMode.Deferred, null, null, null, null, null, spriteScale); gameStateManager.Draw(gameTime, spriteBatch); spritemouse.Draw(gameTime, spriteBatch); spriteBatch.End(); }
public override void Draw(GameTime gameTime, SpriteBatch spriteBatch) { // draw the image if it exists if (image != null) { image.Draw(gameTime, spriteBatch); } }
public override void Draw(Graphics graphics) { if (image != null) { image.Draw(graphics); this.Rectangle = image.BoundingBox; } }
public override void Draw(GameTime gameTime, SpriteBatch spriteBatch) { base.Draw(gameTime, spriteBatch); if (visible) { substance.Draw(gameTime, spriteBatch); } }
public override void Draw(GameTime gameTime, SpriteBatch spriteBatch) { if (!Visible) { return; } arrow.Draw(gameTime, spriteBatch); alignment.Draw(gameTime, spriteBatch); }
public override void Draw(GameTime gameTime, SpriteBatch spriteBatch) { if (!Visible) { return; } container.Draw(gameTime, spriteBatch); text.Draw(gameTime, spriteBatch); }
public override void Draw(GameTime gameTime, SpriteBatch spriteBatch) { base.Draw(gameTime, spriteBatch); if (!Visible) { return; } for (int i = 0; i < pairs.Length; i++) { pairSprite.Position = new Vector2(110 + i * Sprite.Height, 8); pairSprite.Sprite.SheetIndex = pairs[i]; pairSprite.Draw(gameTime, spriteBatch); } }
public override void Draw(GameTime gameTime, SpriteBatch spriteBatch) { base.Draw(gameTime, spriteBatch); overlay.Sprite.Size = new Vector2(1, timer / waittime); overlay.Draw(gameTime, spriteBatch); }
public override void Draw(GameTime gameTime, SpriteBatch spriteBatch) { base.Draw(gameTime, spriteBatch); box.Draw(gameTime, spriteBatch); descritption.Draw(gameTime, spriteBatch); }