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)
     );
 }
Example #2
0
 public virtual void RenderPortrait(Rectangle bounds)
 {
     RenderAdapter.Fill
     (
         new Colour(byte.MaxValue, Colour.R, Colour.G, Colour.B),
         bounds.ShapeInCenter(_shape.GetType())
     );
 }
Example #3
0
 public void RenderOnMiniMap(Rectangle bounds)
 {
     RenderAdapter.Fill(Colour, Utils.ToScreen(_shape.ToBounds(Settings.Instance.Gamebounds, bounds)));
 }
Example #4
0
 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));
 }