Class RadarControl
Displays nearby grids inside of a control.
Inheritance
System.Object
Robust.Client.UserInterface.Control
RadarControl
Assembly: Content.Client.dll
Syntax
public sealed class RadarControl : MapGridControl
Constructors
|
Improve this Doc
View Source
RadarControl()
Declaration
Fields
|
Improve this Doc
View Source
HighlightedDock
Currently hovered docked to show on the map.
Declaration
public EntityUid? HighlightedDock
Field Value
Type |
Description |
System.Nullable<EntityUid> |
|
|
Improve this Doc
View Source
OnRadarClick
Raised if the user left-clicks on the radar control with the relevant entitycoordinates.
Declaration
public Action<EntityCoordinates>? OnRadarClick
Field Value
Type |
Description |
System.Nullable<Action<Robust.Shared.Map.EntityCoordinates>> |
|
Properties
|
Improve this Doc
View Source
ShowDocks
Declaration
public bool ShowDocks { get; set; }
Property Value
Type |
Description |
System.Boolean |
|
|
Improve this Doc
View Source
ShowIFF
Declaration
public bool ShowIFF { get; set; }
Property Value
Type |
Description |
System.Boolean |
|
Methods
|
Improve this Doc
View Source
Draw(DrawingHandleScreen)
Declaration
protected override void Draw(DrawingHandleScreen handle)
Parameters
Type |
Name |
Description |
Robust.Client.Graphics.DrawingHandleScreen |
handle |
|
Overrides
|
Improve this Doc
View Source
GetMouseCoordinates(ScreenCoordinates)
Gets the entitycoordinates of where the mouseposition is, relative to the control.
Declaration
public EntityCoordinates GetMouseCoordinates(ScreenCoordinates screen)
Parameters
Type |
Name |
Description |
Robust.Shared.Map.ScreenCoordinates |
screen |
|
Returns
Type |
Description |
Robust.Shared.Map.EntityCoordinates |
|
|
Improve this Doc
View Source
KeyBindUp(GUIBoundKeyEventArgs)
Declaration
protected override void KeyBindUp(GUIBoundKeyEventArgs args)
Parameters
Type |
Name |
Description |
Robust.Client.UserInterface.GUIBoundKeyEventArgs |
args |
|
Overrides
Robust.Client.UserInterface.Control.KeyBindUp(Robust.Client.UserInterface.GUIBoundKeyEventArgs)
|
Improve this Doc
View Source
SetMatrix(Nullable<EntityCoordinates>, Nullable<Angle>)
Declaration
public void SetMatrix(EntityCoordinates? coordinates, Angle? angle)
Parameters
Type |
Name |
Description |
System.Nullable<Robust.Shared.Map.EntityCoordinates> |
coordinates |
|
System.Nullable<Angle> |
angle |
|
|
Improve this Doc
View Source
UpdateState(RadarConsoleBoundInterfaceState)
Declaration
public void UpdateState(RadarConsoleBoundInterfaceState ls)
Parameters
Extension Methods