C# Class Project290.Particles.ParticleBouncer

Bounces around the screen and emitts different colored particles which fade away smoothly.
Inheritance: CircularParticleEmitter
显示文件 Open project: scastle/Solitude

Public Methods

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

Initializes a new instance of the ParticleBouncer class.

Update ( ) : void

Updates this instance.

Method Details

ParticleBouncer() public method

Initializes a new instance of the ParticleBouncer class.
public ParticleBouncer ( 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