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

Inheritance: OpenRA.Widgets.Widget
Mostrar archivo 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_oe property

public Action,System AfterClose
return System.Action

AfterOpen public_oe property

public Action,System AfterOpen
return System.Action

Animating public_oe property

public Action Animating
return Action

AnimationLength public_oe property

public int AnimationLength
return int

IsEnabled public_oe property

public Func IsEnabled
return Func

RadarOfflineSound public_oe property

public string RadarOfflineSound
return string

RadarOnlineSound public_oe property

public string RadarOnlineSound
return string

WorldInteractionController public_oe property

public string WorldInteractionController
return string