public void RenderPortrait(Rectangle bounds) { RenderAdapter.Fill ( _miniMapColour, new Rectangle(bounds.Center.X - (bounds.Width / 2) / 2, bounds.Y, bounds.Width / 2, bounds.Height - 2) ); }
public virtual void RenderPortrait(Rectangle bounds) { RenderAdapter.Fill ( new Colour(byte.MaxValue, Colour.R, Colour.G, Colour.B), bounds.ShapeInCenter(_shape.GetType()) ); }
public void RenderOnMiniMap(Rectangle bounds) { RenderAdapter.Fill(Colour, Utils.ToScreen(_shape.ToBounds(Settings.Instance.Gamebounds, bounds))); }
public override void Render() { RenderAdapter.Fill(Colour, _shape); }
public override void Render() { RenderAdapter.Fill(Colour.WhiteSmoke, Utils.ToScreen(_shape)); RenderAdapter.DrawRectangle(Colour.Black, Utils.ToScreen(_shape.HitBox)); }