private void RenderCamreaOnMiniMap() { RenderAdapter.DrawRectangle ( Colour.Black, Utils.ToScreen(Utils.CameraPostionRectangle().ToBounds(Settings.Instance.Gamebounds, Bounds) as Rectangle) ); }
public override void Render() { if (Visible) { RenderAdapter.FillRectangle(_colour, _rect); // Gives it a nice OutLine RenderAdapter.DrawRectangle(Colour.Black, _rect); } }
public override void Render() { if (Visible) { RenderAdapter.FillRectangle(Colour, _rect); } if (Settings.DEBUG) { RenderAdapter.DrawRectangle(Colour.Red, _rect); } }
public override void Render() { Rectangle boundsScreen = Utils.ToScreen(_bounds.HitBox); RenderAdapter.FillRectangle(Colour.White, boundsScreen); RenderAdapter.DrawRectangle(Colour.Black, boundsScreen); _subject.RenderPortrait(boundsScreen); RenderAdapter.DrawText ( Colour.Black, new Point2D(boundsScreen.X, boundsScreen.Y2 - Convert.ToInt32(boundsScreen.Width / 6)), ResoruceManger.GetFont(Settings.DEFUALT_FONT_NAME, Convert.ToInt32(boundsScreen.Width / 6)), _subject.Title ); }
public override void Render() { RenderAdapter.Fill(Colour.WhiteSmoke, Utils.ToScreen(_shape)); RenderAdapter.DrawRectangle(Colour.Black, Utils.ToScreen(_shape.HitBox)); }
private void RenderMiniMap() { RenderAdapter.FillRectangle(Colour.WhiteSmoke, Utils.ToScreen(Bounds)); RenderAdapter.DrawRectangle(Colour.Black, Utils.ToScreen(Bounds)); }