C# Class OpenRA.Mods.Common.Traits.RadarPing

Exibir arquivo Open project: pchote/OpenRA Class Usage Examples

Public Properties

Property Type Description
Color Color
Duration int
FromRadius int
IsVisible Func
Position WPos
RotationSpeed float
ShrinkSpeed int
ToRadius int

Public Methods

Method Description
Points ( float2 center ) : IEnumerable
RadarPing ( Func isVisible, WPos position, Color color, int duration, int fromRadius, int toRadius, int shrinkSpeed, float rotationSpeed ) : System
Tick ( ) : bool

Method Details

Points() public method

public Points ( float2 center ) : IEnumerable
center float2
return IEnumerable

RadarPing() public method

public RadarPing ( Func isVisible, WPos position, Color color, int duration, int fromRadius, int toRadius, int shrinkSpeed, float rotationSpeed ) : System
isVisible Func
position WPos
color Color
duration int
fromRadius int
toRadius int
shrinkSpeed int
rotationSpeed float
return System

Tick() public method

public Tick ( ) : bool
return bool

Property Details

Color public_oe property

public Color Color
return Color

Duration public_oe property

public int Duration
return int

FromRadius public_oe property

public int FromRadius
return int

IsVisible public_oe property

public Func IsVisible
return Func

Position public_oe property

public WPos Position
return WPos

RotationSpeed public_oe property

public float RotationSpeed
return float

ShrinkSpeed public_oe property

public int ShrinkSpeed
return int

ToRadius public_oe property

public int ToRadius
return int