C# Class Danmaku_no_Kyojin.Particles.ParticleState

Show file Open project: Noxalus/Danmaku-no-Kyojin Class Usage Examples

Public Properties

Property Type Description
LengthMultiplier float
Type ParticleType
Velocity Vector2

Public Methods

Method Description
GetRandom ( float minVel, float maxVel ) : ParticleState
ParticleState ( Vector2 velocity, ParticleType type, float lengthMultiplier = 1f ) : System
UpdateParticle ( ParticleManager particle ) : void

Method Details

GetRandom() public static method

public static GetRandom ( float minVel, float maxVel ) : ParticleState
minVel float
maxVel float
return ParticleState

ParticleState() public method

public ParticleState ( Vector2 velocity, ParticleType type, float lengthMultiplier = 1f ) : System
velocity Vector2
type ParticleType
lengthMultiplier float
return System

UpdateParticle() public static method

public static UpdateParticle ( ParticleManager particle ) : void
particle ParticleManager
return void

Property Details

LengthMultiplier public property

public float LengthMultiplier
return float

Type public property

public ParticleType Type
return ParticleType

Velocity public property

public Vector2 Velocity
return Vector2