C# Class Project290.Particles.CircularParticleEmitter

Launches particles in a radial fashion.
Inheritance: ParticleEmitter
显示文件 Open project: scastle/Solitude

Public Methods

Method Description
CircularParticleEmitter ( long particleDelay, float velocity, ParticleAction action, ParticleContainer particles ) : System

Initializes a new instance of the CircularParticleEmitter class.

Update ( Vector2 position ) : void

Updates this instance.

Method Details

CircularParticleEmitter() public method

Initializes a new instance of the CircularParticleEmitter class.
public CircularParticleEmitter ( long particleDelay, float velocity, ParticleAction action, ParticleContainer particles ) : System
particleDelay long The particle delay.
velocity float The velocity of a particle that is launched.
action ParticleAction The action that draws and updates a particle.
particles ParticleContainer The particles to add a particle to.
return System

Update() public method

Updates this instance.
public Update ( Vector2 position ) : void
position Vector2 The position of this emitter.
return void