C# Class geek.GameEngine.Utils.JitteryValue

A structure that represents a value and jitter around it.
Mostra file Open project: impworks/xna.geek.engine Class Usage Examples

Public Properties

Property Type Description
Jitter float
Median float

Public Methods

Method Description
GetValue ( ) : float

Get a new value that falls into allowed jittery range.

JitteryValue ( float median, float jitter )

Create a new jittery value instance.

Method Details

GetValue() public method

Get a new value that falls into allowed jittery range.
public GetValue ( ) : float
return float

JitteryValue() public method

Create a new jittery value instance.
public JitteryValue ( float median, float jitter )
median float Median value.
jitter float Jitter value.

Property Details

Jitter public_oe property

Spread coefficient.
public float Jitter
return float

Median public_oe property

Center of the value spread.
public float Median
return float