C# Class Project290.Particles.RandomEmitter

Emits a particle randomly on the screen.
Inheritance: CircularParticleEmitter
显示文件 Open project: scastle/Solitude

Public Methods

Method Description
RandomEmitter ( Screen screen, long particleDelay, float particleLaunchVelocity, ParticleAction action ) : System

Initializes a new instance of the RandomEmitter class.

Update ( ) : void

Updates this instance.

Method Details

RandomEmitter() public method

Initializes a new instance of the RandomEmitter class.
public RandomEmitter ( Screen screen, long particleDelay, float particleLaunchVelocity, ParticleAction action ) : System
screen Project290.Screens.Screen The screen.
particleDelay long The particle delay (in ticks).
particleLaunchVelocity float
action ParticleAction The action.
return System

Update() public method

Updates this instance.
public Update ( ) : void
return void