C# Class Light, MOSH

Exibir arquivo Open project: ErraticUnicorn/MOSH Class Usage Examples

Public Methods

Method Description
GetBrightness ( ) : float
GetDistanceMod ( Vector2, otherPos ) : float
Light ( Vector2, p, float b )
Switch ( ) : void

Private Methods

Method Description
GetTintedColor ( Light, lights, Vector2, myPos ) : Color,

Method Details

GetBrightness() public method

public GetBrightness ( ) : float
return float

GetDistanceMod() public method

public GetDistanceMod ( Vector2, otherPos ) : float
otherPos Vector2,
return float

Light() public method

public Light ( Vector2, p, float b )
p Vector2,
b float

Switch() public method

public Switch ( ) : void
return void