C# Class OpenRA.Mods.Common.Widgets.RadarWidget

Inheritance: OpenRA.Widgets.Widget
Show file Open project: OpenRA/OpenRA

Public Properties

Property Type Description
AfterClose System.Action
AfterOpen System.Action
Animating Action
AnimationLength int
IsEnabled Func
RadarOfflineSound string
RadarOnlineSound string
WorldInteractionController string

Public Methods

Method Description
Dispose ( ) : void
Draw ( ) : void
DrawRadarPings ( ) : void
GetCursor ( int2 pos ) : string
HandleMouseInput ( MouseInput mi ) : bool
Initialize ( WidgetArgs args ) : void
MapBoundsChanged ( ) : void
MarkShroudDirty ( IEnumerable projectedCellsChanged ) : void
Removed ( ) : void
Tick ( ) : void
UpdateShroudCell ( PPos puv ) : void
UpdateTerrainCell ( CPos cell ) : void

Private Methods

Method Description
CellToMinimapPixel ( CPos p ) : int2
MinimapPixelToCell ( int2 p ) : CPos
RadarWidget ( World world, WorldRenderer worldRenderer ) : System

Method Details

Dispose() public method

public Dispose ( ) : void
return void

Draw() public method

public Draw ( ) : void
return void

DrawRadarPings() public method

public DrawRadarPings ( ) : void
return void

GetCursor() public method

public GetCursor ( int2 pos ) : string
pos int2
return string

HandleMouseInput() public method

public HandleMouseInput ( MouseInput mi ) : bool
mi MouseInput
return bool

Initialize() public method

public Initialize ( WidgetArgs args ) : void
args WidgetArgs
return void

MapBoundsChanged() public method

public MapBoundsChanged ( ) : void
return void

MarkShroudDirty() public method

public MarkShroudDirty ( IEnumerable projectedCellsChanged ) : void
projectedCellsChanged IEnumerable
return void

Removed() public method

public Removed ( ) : void
return void

Tick() public method

public Tick ( ) : void
return void

UpdateShroudCell() public method

public UpdateShroudCell ( PPos puv ) : void
puv PPos
return void

UpdateTerrainCell() public method

public UpdateTerrainCell ( CPos cell ) : void
cell CPos
return void

Property Details

AfterClose public property

public Action,System AfterClose
return System.Action

AfterOpen public property

public Action,System AfterOpen
return System.Action

Animating public property

public Action Animating
return Action

AnimationLength public property

public int AnimationLength
return int

IsEnabled public property

public Func IsEnabled
return Func

RadarOfflineSound public property

public string RadarOfflineSound
return string

RadarOnlineSound public property

public string RadarOnlineSound
return string

WorldInteractionController public property

public string WorldInteractionController
return string