private void DrawIDrawableComponent(IDrawableComponent component) { if (component.isVisible()) { component.Draw(_spriteBatch); } }
public override void Draw(IGameTime gameTime) { _mainMenuStateGraphics.Draw(this, gameTime); _textMenu.Draw(gameTime); base.Draw(gameTime); }
public override void Draw(DeviceContext context, int index) { if (index == cloudDrawIndex) { if (PlayerManager.IsHeadInsideWater == false) { _clouds.Draw(context, index); } } else { DrawingDome(context); DrawingMoon(context); if (PlayerManager.IsHeadInsideWater == false) { _skyStars.Draw(context, index); } } }
public override void Draw(IGameTime gameTime) { _graphicsComponent.Draw(this, gameTime); }
public override void Draw(IGameTime gameTime) { _splashStateGraphics.Draw(this, gameTime); base.Draw(gameTime); }
public virtual void Draw(SpriteBatch sb) { texture.Draw(sb, position, textureScale, Color.White); }
public void Draw() { _drawableComponent.Draw(); }
public override void Draw(IGameTime gameTime) { _helpMainMenuStateGraphics.Draw(this, gameTime); base.Draw(gameTime); }