C# Class OpenRA.Mods.Common.Graphics.DetectionCircleRenderable

Exibir arquivo Open project: pchote/OpenRA

Public Methods

Method Description
AsDecoration ( ) : IRenderable
DetectionCircleRenderable ( WPos centerPosition, WDist radius, int zOffset, int lineTrails, WAngle trailSeparation, WAngle trailAngle, Color color, Color contrastColor ) : System.Drawing
OffsetBy ( WVec vec ) : IRenderable
PrepareRender ( WorldRenderer wr ) : IFinalizedRenderable
Render ( WorldRenderer wr ) : void
RenderDebugGeometry ( WorldRenderer wr ) : void
ScreenBounds ( WorldRenderer wr ) : Rectangle
WithPalette ( OpenRA.Graphics.PaletteReference newPalette ) : IRenderable
WithZOffset ( int newOffset ) : IRenderable

Method Details

AsDecoration() public method

public AsDecoration ( ) : IRenderable
return IRenderable

DetectionCircleRenderable() public method

public DetectionCircleRenderable ( WPos centerPosition, WDist radius, int zOffset, int lineTrails, WAngle trailSeparation, WAngle trailAngle, Color color, Color contrastColor ) : System.Drawing
centerPosition WPos
radius WDist
zOffset int
lineTrails int
trailSeparation WAngle
trailAngle WAngle
color System.Drawing.Color
contrastColor System.Drawing.Color
return System.Drawing

OffsetBy() public method

public OffsetBy ( WVec vec ) : IRenderable
vec WVec
return IRenderable

PrepareRender() public method

public PrepareRender ( WorldRenderer wr ) : IFinalizedRenderable
wr OpenRA.Graphics.WorldRenderer
return IFinalizedRenderable

Render() public method

public Render ( WorldRenderer wr ) : void
wr OpenRA.Graphics.WorldRenderer
return void

RenderDebugGeometry() public method

public RenderDebugGeometry ( WorldRenderer wr ) : void
wr OpenRA.Graphics.WorldRenderer
return void

ScreenBounds() public method

public ScreenBounds ( WorldRenderer wr ) : Rectangle
wr OpenRA.Graphics.WorldRenderer
return System.Drawing.Rectangle

WithPalette() public method

public WithPalette ( OpenRA.Graphics.PaletteReference newPalette ) : IRenderable
newPalette OpenRA.Graphics.PaletteReference
return IRenderable

WithZOffset() public method

public WithZOffset ( int newOffset ) : IRenderable
newOffset int
return IRenderable